Last active
June 14, 2024 17:28
-
-
Save fredr/6502027 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); | |
})(); |
thanks this is helpful https://mrcoles.com/bookmarklet/ this can also help
you can use GM.js https://github.com/Zaidbaidadekalb/-G-M-Executor.js
its also a bookmarklet that will inject an external script in the browser but you can change the code.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
can i put userscripts into this