-
-
Save SteveBenner/073867a7a90296e5f5ed02bf6f4fde8e to your computer and use it in GitHub Desktop.
use jQuery in Chrome javascript console.
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
var jq = document.createElement('script'); | |
jq.src = "//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"; | |
document.getElementsByTagName('head')[0].appendChild(jq); | |
jQuery.noConflict(); |
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
console.log($); // $ is object original site object | |
withChebo(function() { | |
console.log($); // $ is imported jQuery | |
}) | |
console.log($); // $ is object original site object |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment