GeoLock 作者: MaZy
Per-page request firewall with geoip, geosite, domain/URL regex, and IP range rules
也可在 Firefox for Android™ 使用也可在 Firefox for Android™ 使用
擴充套件後設資料
畫面擷圖
關於此擴充套件
GeoLock is a Firefox extension that gives you fine-grained control over sub-resource requests on a per-page basis.
For every request initiated by a webpage, GeoLock evaluates a configurable list of rules and decides whether to block or allow it. Rules can match on:
• geoip — country code from a v2fly-format database (resolved via DNS at runtime)
• geosite — domain category from a v2fly-format database
• domain — regular expression against the host
• url — regular expression against the full URL
• ip — CIDR (IPv4 or IPv6)
• logical combinators: AND, OR, NOT, with optional bidirectional matching
Rules pair a source matcher (the page initiating the request) with a destination matcher (what the page is loading); both must match for the rule to fire. Rules can be made bidirectional so the source and destination roles may be swapped. Isolate rules express a single set and fire when traffic crosses its boundary (when source XOR destination is in the set). A rule only fires when its conditions definitively match; rules abstain when the data needed to decide is missing, falling through to the next rule or the default action.
GeoIP/Geosite databases are not bundled. You configure HTTPS URLs to v2fly-format .dat files and GeoLock fetches and caches them on a schedule of your choice.
No telemetry. No data leaves your browser except DNS lookups and the data-source URLs you configure.
Source: https://github.com/mazzz1y/geolock
For every request initiated by a webpage, GeoLock evaluates a configurable list of rules and decides whether to block or allow it. Rules can match on:
• geoip — country code from a v2fly-format database (resolved via DNS at runtime)
• geosite — domain category from a v2fly-format database
• domain — regular expression against the host
• url — regular expression against the full URL
• ip — CIDR (IPv4 or IPv6)
• logical combinators: AND, OR, NOT, with optional bidirectional matching
Rules pair a source matcher (the page initiating the request) with a destination matcher (what the page is loading); both must match for the rule to fire. Rules can be made bidirectional so the source and destination roles may be swapped. Isolate rules express a single set and fire when traffic crosses its boundary (when source XOR destination is in the set). A rule only fires when its conditions definitively match; rules abstain when the data needed to decide is missing, falling through to the next rule or the default action.
GeoIP/Geosite databases are not bundled. You configure HTTPS URLs to v2fly-format .dat files and GeoLock fetches and caches them on a schedule of your choice.
No telemetry. No data leaves your browser except DNS lookups and the data-source URLs you configure.
Source: https://github.com/mazzz1y/geolock
由 1 位評論者給出 5 分
權限與資料
更多資訊
- 附加元件網址
- 版本
- 2.0.1
- 大小
- 77.65 KB
- 最近更新
- 7 天前 (2026年5月9日)
- 相關分類
- 授權條款
- MIT License
- 版本紀錄
- 新增至收藏集