1
0
mirror of http://git.whoc.org.uk/git/password-manager.git synced 2024-11-11 00:07:16 +01:00
password-manager-mirror/frontend/beta/js/Bookmarklet_IE.js
2011-10-03 00:56:18 +01:00

24 lines
685 B
JavaScript

//
// IE limit: 508 characters!!!!!
//
loadClipperzBookmarklet = function() {
var headNode;
var clipperzScriptNode;
clipperzScriptNode = document.getElementById('clipperzScript');
headNode = document.getElementsByTagName('head').item(0);
if (clipperzScriptNode) {
headNode.removeChild(clipperzScriptNode);
}
clipperzScriptNode = document.createElement('script');
clipperzScriptNode.setAttribute('src', 'http%3a%2f%2fclipperz.com%2ffiles%2fclipperz.com%2fbookmarklet%2fBookmarklet.js');
clipperzScriptNode.setAttribute('type', 'text/javascript');
clipperzScriptNode.setAttribute('defer', true);
headNode.appendChild(clipperzScriptNode);
};
loadClipperzBookmarklet();