Userscript
A userscript is a set of JavaScript code and metadata that is executed when a web page is loading:
- The code is a sequence of instructions that tells the browser how to modify the page.
- The metadata is information about the userscript, for example the web pages where they should run, the resources and libraries they require, and more.
Example:
How to use userscript?
From my experience, Tampermonkey is best suited for Chromium-based browsers such as Google Chrome and Opera.
Violentmonkey is currently the best supported userscript manager for Firefox.
Here are the direct pages where you can install the Tampermonkey extension:
- Google Chrome: https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=en
- Opera: https://addons.opera.com/en/extensions/details/tampermonkey-beta/
- Microsoft Edge: https://www.microsoft.com/store/apps/9NBLGGH5162S
- Safari: https://safari-extensions.apple.com/details/?id=net.tampermonkey.safari-G3XV72R5TC
Violentmonkey
Violentmonkey is the main alternative to Tampermonkey and is completely open-source. It's available in Firefox, Chrome, Opera, and Maxthon.
Searching for userscripts :
Search your user script and click install to install it in OperaUserJs and GreasyFork Site.