-
-
Save Gesugao-san/dc3ed6eeb1f02f75d1f415d954ca709e to your computer and use it in GitHub Desktop.
A bookmarklet that will inject an external script in the browser.
(minify, uri encode and add to the href prefixed with "javascript:" in your bookmark)
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
(function() { | |
var script = document.createElement('script'); | |
script.async = 1; | |
script.src = '<url to script>'; | |
document.getElementsByTagName('body')[0].appendChild(script); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment