mirror of
http://git.whoc.org.uk/git/password-manager.git
synced 2024-11-14 08:09:02 +01:00
24 lines
685 B
JavaScript
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();
|