summaryrefslogtreecommitdiff
path: root/frontend/gamma/js/Bookmarklet_IE.js
blob: 6b3e5c0a46c3bcd871a7e833e755c17e22d2e202 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//
//	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();