Created
May 28, 2014 23:49
-
-
Save rsalmond/a3dbf2961bc934a0c445 to your computer and use it in GitHub Desktop.
Protocol Relative version of the Navlet bookmarklet code https://code.google.com/p/navlet/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function () { window.navlet = { url_root: "//navlet.googlecode.com/git/", dev_url_root: "//localhost/navlet/" }; var loader = document.createElement("div"); loader.setAttribute("id", "navlet-loader"); loader.setAttribute("style", "z-index: 10000;position:fixed;top:0;left:0;background-color:black;color:white;font-weight:bold;font-size: 16px;lime-height:1em;padding:15px 40px;"); document.getElementsByTagName('body')[0].appendChild(loader); loader.innerHTML = "Loading Navlet ..."; var navletPath = "//navlet.googlecode.com/git/"; var bootstrapNode = document.createElement("script"); bootstrapNode.src= window.navlet.url_root + "navlet.js"; document.getElementsByTagName('head')[0].appendChild(bootstrapNode); })() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment