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 Users35 Users
必須使用 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 *
由 1 位評論者給出 4.6 分
登入後即可幫此擴充套件評分
目前沒有評分

已儲存星等

5
4
4
0
3
1
2
0
1
0
閱讀全部 5 條評論
權限與資料了解更多

必要權限:

  • 存取您所有網站中的資料
更多資訊
附加元件網址
  • 首頁
  • 技術支援網站
  • 技術支援信箱
版本
1.1.1resigned1
大小
101.24 KB
最近更新
1 年前 (2024年4月25日)
相關分類
  • 網頁開發
  • 隱私權與安全性
  • 其它
授權條款
MIT License
版本紀錄
  • 瀏覽所有版本
標籤
  • ad blocker
  • anti malware
  • anti tracker
  • content blocker
  • privacy
  • security
  • user scripts
新增至收藏集
檢舉此附加元件
支援這位開發者

這套擴充套件的開發者希望您透過小小的捐獻協助其後續開發。

立刻捐款

Jirka Justra 製作的更多擴充套件
  • 目前沒有評分

  • 目前沒有評分

  • 目前沒有評分

  • 目前沒有評分

  • 目前沒有評分

  • 目前沒有評分

前往 Mozilla 官網

附加元件

  • 關於
  • Firefox 附加元件部落格
  • 擴充套件工作坊
  • 開發者交流中心
  • 開發者政策
  • 社群部落格
  • 討論區
  • 回報 Bug
  • 評論撰寫指南

瀏覽器

  • Desktop
  • Mobile
  • Enterprise

產品

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

除另有註明外,本站內容皆採用創用 CC 姓名標示—相同方式分享條款 3.0 或更新版本授權大眾使用。