Firefox 浏览器附加组件
  • 扩展
  • 主题
    • 适用于 Firefox
    • 字典和语言包
    • 其他浏览器网站
    • 适用于 Android 的附加组件
登录
Request RegEx Filter 预览

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

4.6 (5 reviews)4.6 (5 reviews)
11 个用户11 个用户
您需要 Firefox 来使用此扩展
下载 Firefox 并安装扩展
下载文件

扩展元数据

屏幕截图
The options page for adding/removing regular expressions that will be used to blacklist web requests
关于此扩展
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[.]
and it will block all requests to websites that start with "ads." on http or https. this means any requests to get javascript or other content from http://ads.example.com
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 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

5
4
4
0
3
1
2
0
1
0
阅读全部 5 条评价
权限与数据详细了解

必要权限:

  • 访问您在所有网站的数据
更多信息
附加组件链接
  • 用户支持网站
版本
1.1resigned1
大小
10.16 KB
上次更新
1 年前 (2024年4月25日)
相关分类
  • 下载管理
  • 隐私和安全
  • 其他
许可证
MIT 许可证
版本历史
  • 查看所有版本
添加到收藏集
举报此附加组件
其他流行扩展
  • Dark Reader

    Dark Reader
    推荐推荐

    评分 4.5 / 5

    Dark Reader Ltd

    1,234,826 个用户

  • Grammar and Spell Checker - LanguageTool

    Grammar and Spell Checker - LanguageTool
    推荐推荐

    评分 4.7 / 5

    LanguageTooler GmbH

    371,323 个用户

  • Search by Image

    Search by Image
    推荐推荐

    评分 4.6 / 5

    Armin Sebastian

    408,602 个用户

  • Tree Style Tab

    Tree Style Tab
    推荐推荐

    评分 4.5 / 5

    Piro (piro_or)

    181,542 个用户

转至 Mozilla 主页

附加组件

  • 关于
  • Firefox 附加组件博客
  • 扩展工坊
  • 开发者中心
  • 开发者政策
  • 社区博客
  • 论坛
  • 报告缺陷
  • 评价指南

浏览器

  • Desktop
  • Mobile
  • Enterprise

产品

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • 隐私
  • Cookie
  • 法律

除非另有注明,否则本网站上的内容可按知识共享 署名-相同方式共享 3.0 或更新版本使用。