Created
February 20, 2015 17:37
-
-
Save fleon/8ce95ed04222a34a91e4 to your computer and use it in GitHub Desktop.
Useful Bookmarklets for Developers
This file contains 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: | |
var script = document.createElement('script'); | |
var protocol = window.location.protocol; | |
if (protocol.indexOf('file') >= 0) { | |
protocol = 'http:'; | |
} | |
script.src = protocol + '//code.jquery.com/jquery-1.11.2.min.js'; | |
document.getElementsByTagName('head')[0].appendChild(script); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment