author | Giulio Cesare Solaroli <giulio.cesare@solaroli.it> | 2011-10-03 16:04:12 (UTC) |
---|---|---|
committer | Giulio Cesare Solaroli <giulio.cesare@solaroli.it> | 2011-10-03 16:04:12 (UTC) |
commit | 541bb378ddece2eab135a8066a16994e94436dea (patch) (unidiff) | |
tree | ff160ea3e26f7fe07fcfd401387c5a0232ca715e /frontend/gamma/js/Bookmarklet_IE.js | |
parent | 1bf431fd3d45cbdf4afa3e12afefe5d24f4d3bc7 (diff) | |
parent | ecad5e895831337216544e81f1a467e0c68c4a6a (diff) | |
download | clipperz-541bb378ddece2eab135a8066a16994e94436dea.zip clipperz-541bb378ddece2eab135a8066a16994e94436dea.tar.gz clipperz-541bb378ddece2eab135a8066a16994e94436dea.tar.bz2 |
Merge pull request #1 from gcsolaroli/master
First version of the restructured repository
Diffstat (limited to 'frontend/gamma/js/Bookmarklet_IE.js') (more/less context) (ignore whitespace changes)
-rw-r--r-- | frontend/gamma/js/Bookmarklet_IE.js | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/frontend/gamma/js/Bookmarklet_IE.js b/frontend/gamma/js/Bookmarklet_IE.js new file mode 100644 index 0000000..6b3e5c0 --- a/dev/null +++ b/frontend/gamma/js/Bookmarklet_IE.js | |||
@@ -0,0 +1,23 @@ | |||
1 | // | ||
2 | //IE limit: 508 characters!!!!! | ||
3 | // | ||
4 | |||
5 | loadClipperzBookmarklet = function() { | ||
6 | varheadNode; | ||
7 | var clipperzScript; | ||
8 | |||
9 | clipperzScript = document.getElementById('clipperzScript'); | ||
10 | headNode = document.getElementsByTagName("head").item(0); | ||
11 | |||
12 | if (clipperzScript) { | ||
13 | headNode.removeChild(clipperzScript); | ||
14 | } | ||
15 | |||
16 | clipperzScript = document.createElement('script'); | ||
17 | clipperzScript.setAttribute('src', 'http%3a%2f%2fclipperz.com%2ffiles%2fclipperz.com%2fbookmarklet%2fBookmarklet.js'); | ||
18 | clipperzScript.setAttribute('type', 'text/javascript'); | ||
19 | clipperzScript.setAttribute('defer', true); | ||
20 | headNode.appendChild(clipperzScript); | ||
21 | }; | ||
22 | |||
23 | loadClipperzBookmarklet(); | ||