Request RegEx Filter v1.1resigned1
To configure this Add-on, Open the Add-ons/Extensions page of your browser or type "about:addons" in the address bar in Firefox.
Click on "Options" for the Request RegEx Filter add-on.
Then you can add or remove from the list of Regular Expressions that will denylist the http request.
For more details on how to write a regular expression, here are some resources:
- Regular Expression 101
- Mozilla Developer Documentation - Regular Expression
For Example:
Add the following regular expression to the denylist
- http(s)?:\/\/ads[.]
would be blocked.
This regex is purely for demonstration purposes. The above Regular Expression has the limitation that any website starting with "ads." would be blocked. So if you legitimately want to be visiting a site with a domain name prefixed with "ads." you would avoid using this regex.