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) (side-by-side diff) | |
tree | ff160ea3e26f7fe07fcfd401387c5a0232ca715e /frontend/beta/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/beta/js/Bookmarklet_IE.js') (more/less context) (show whitespace changes)
-rw-r--r-- | frontend/beta/js/Bookmarklet_IE.js | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/frontend/beta/js/Bookmarklet_IE.js b/frontend/beta/js/Bookmarklet_IE.js new file mode 100644 index 0000000..f372d14 --- a/dev/null +++ b/frontend/beta/js/Bookmarklet_IE.js @@ -0,0 +1,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(); |