However, with great power comes great responsibility to not mess up. Tampermonkey allows you to configure an allowlist (a.k.a whitelist) and a denylist (a.k.a blacklist). These lists can be configured on the
Security menu of Tampermonkey in your browser itself.
Before starting, make sure that your Config Mode is set to
Advanced. You won’t get the settings if it is set as
Then scroll to the security section and add the domain names to the
Whitelisted Pages you want to allow the script to run, and add the domain names to block the script in the
Blacklisted Pages section.
Those lists accept Regex as their values. So, to add all pages from the domain
example.com, use the format: