javascript - How to make console run script in the background? -


i want block pop-up stuff, removing specific css file.

i use following code

$("link:eq(4).[rel=stylesheet]").attr("href", '-'); 

and works, if update page or click on internal links pop again , have manually type code in console again.

is there way automate process?

you can set scripts page greasemonkey.

https://addons.mozilla.org/es/firefox/addon/greasemonkey/


Comments

Popular posts from this blog

java - Static nested class instance -

c# - Bluetooth LE CanUpdate Characteristic property -

JavaScript - Replace variable from string in all occurrences -