Any tips for writing cross-browser Greasemonkey scripts?

I have several scripts that clean up some sites that I use. But now I switched to Chrome from Firefox, and some of the scripts do not work, although I can install them.

Can anyone offer any advice on how to write custom scripts that work (almost) cross-browser? In particular, Firefox, Chrome, and possibly Opera.

+3
source share
3 answers

I was working on a Script comparison chart that should help you find out which GM_API you may depend on.

, - JavaScript, ; DOM, QuirksMode DOM -.

+4

- Tampermonkey. GM, , Chrome.

+2

Source: https://habr.com/ru/post/1795366/


All Articles