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

firewall 作者: Jirka Justra

[č]Allows website requests filtering and header alteration --- icon from: Martz90 http://martz90.deviantart.com/art/Hex-Icons-Pack-389706981

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

扩展元数据

屏幕截图
Options page
关于此扩展
[manual]

Requested resources have origin url (site's address) and target url.

Default origin is set to .* (all sites).

Please note, that there cannot be used semicolon in text tokens, because it works like line breaker
and asterisk as first character of word (it translate variable name to its value).
When this is needed, please use base64 version of value and b64d (base 64 decode) function
in program (see example).

- request blocking -
Firewall works by testing currently loading site's url (origin) against url-reg-exp
given in command origin. If it matches, then ALL rules of given set will be tested
one by one. Every rule can decide if target is allowed or blocked. At the end,
final result of those iterations is used.

- header alteration -
Header alteration rules are evaluated immediately.


/commands:

origin url-reg-exp - create new rule set for given url (regular expression form)
disable - disable current rule set

block url-reg-exp - add blocking rule for target url (blacklist)
allow url-reg-exp - whitelist all that matches

requestHeader Header-Name [value] - alter request header value for current origin
responseHeader Header-Name [value] - alter response header value for current origin

(if value is omitted, header is discarded)


/example:

# discard all X-Frame-Options headers on all loaded sites
responseHeader X-Frame-Options

# block [anything].google(-analytics, etc.) on steam
origin steampowered
block \.google

# semicolon usage
origin mozilla\.org
block \.png; block \.svg; block \.css

# using previous origin (mozilla.org)
# allowing \.css again
# base64 for \.css is XC5jc3M= ... in dev console: btoa('\\.css')
b64d XC5jc3M=
allow *
评分 4.6(1 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

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

必要权限:

  • 访问您在所有网站的数据
更多信息
附加组件链接
  • 主页
  • 用户支持网站
  • 支持邮箱
版本
1.1.1resigned1
大小
101.24 KB
上次更新
1 年前 (2024年4月25日)
相关分类
  • 网页开发
  • 隐私和安全
  • 其他
许可证
MIT 许可证
版本历史
  • 查看所有版本
标签
  • ad blocker
  • anti malware
  • anti tracker
  • content blocker
  • privacy
  • security
  • user scripts
添加到收藏集
举报此附加组件
支持这位开发者

此扩展的开发者寻求您的小小捐助以支持其持续发展。

我要捐款

Jirka Justra 制作的更多扩展
  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

转至 Mozilla 主页

附加组件

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

浏览器

  • Desktop
  • Mobile
  • Enterprise

产品

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

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