Request RegEx Filter 作者: Henry Lu
This Add-on will filter all HTTP requests (including requests for javascript files, images etc) based on the list of regular expressions the user provides. The addon works off of a Deny-list configured via the Options/Settings page for the Addon
9 个用户9 个用户
扩展元数据
屏幕截图
关于此扩展
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:
For Example:
Add the following regular expression to the denylist
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.
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:
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.
评分 4.6(1 位用户)
权限与数据
更多信息