Last active
February 18, 2021 06:14
-
-
Save ducin/7257776 to your computer and use it in GitHub Desktop.
load js script from blank page browser (execute following code in the browser console)
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(root){ | |
root.getScript = function(url) { | |
var script = document.createElement('script'); | |
script.type = 'text/javascript'; | |
script.src = url; | |
document.head.appendChild(script); | |
} | |
}(window)); | |
getScript('http://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.js'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment