summaryrefslogtreecommitdiff
path: root/frontend/beta/js/Bookmarklet_IE.js
blob: f372d142b9c9f76c99910ee137ebbb38fc53c917 (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 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();