-
-
Save deostroll/870647e11e0432eacd02b7ad2359919e to your computer and use it in GitHub Desktop.
Paste this into your console to play with velocity on a page that doesn't have it. It assumes jQuery exists already
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
(function() { | |
var url = ['cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.js']; | |
for(var i=0; i < url.length; i++){ | |
var v = document.createElement('script'); v.type = 'text/javascript'; v.async = true; | |
v.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + url[i]; | |
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(v, s); | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment