Firefox DevTools: automatic jQuery input

I work on developer tools and love using jQuery in the console to run code snippets. To insert jQuery on the page (and console), I paste it into the devtools console:

var j = document.createElement('script'); j.src = "//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"; document.getElementsByTagName('head')[0].appendChild(j);

Is there a way to insert jQuery automatically into the developer tool console? Ideally, without affecting window.$either the window.jQuerycurrent page.

+4
source share
1 answer

, script . , jQuery . . , .

, , dotjs - , jQuery DOM, script . , jQuery? , " . $ window.jQuery " - - . , - .

+6

All Articles