javascript - Prepend() does not work on certain sites -


so following code:

javascript:$(document.body).prepend("hi"); 

when put in address bar, working on of sites (i.e. current page), nothing other sites (i.e. google).

i using chrome. , curious, problem?

it work if site has jquery loaded, since you're using $ synonym jquery.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -