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

24 lines
649 B
JavaScript

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