Domain Blocker EN
CandyDeLight · Firefox
Block websites by adding their domain to a list. There are two ways to block a domain. You can go to the extensions HOME/options page to manually add the domain. Or you can click on "ADD DOMAIN" within the extension's popup page.
<all_urls>),意味着它可以读取你在任意站点的页面内容,包括已登录的页面。这是许多扩展正常工作的必要条件,但也值得你确认来源可信。
简介
You can virtually add any domain to a list. When you try to visit the website it'll redirect you a simple HTML page stating what was blocked. That is assuming you have added the domain to the list.
There are two ways to block a domain. You can go to the extensions HOME/options page to manually add the domain (in the correct format). Or you can click on "ADD DOMAIN" within the extension's popup page.
Format consist of any number of subdomain + domain + top level domain.
For example store.google.com OR google.com.
Blocking store.google.com WILL NOT block google.com.
However, blocking google.com WILL block store.google.com.
Sometimes, ad blockers don't block everything on a website. By manually adding the domain of the ad you should be able to block it. For backup purposes, you will be able to download your list as a simple text (.txt) file. You can also import that same text file in case your list is somehow lost. Just know that importing the text file will overwrite any current existing list.
Also note that there is no database connected to this add-on. Everything is saved locally. Which is why you should download your list every so often.
The easiest way to view the extension's HOME/options page in its entirety is to click on "HOME" button within the extension's popup page. You can also do this within the context menu (right click on a page).
This is just a fun small side project to put on my resume.
Icon from juicy_fish
https://www.flaticon.com/authors/juicy-fish
https://www.flaticon.com/free-icons/defensive-wall
Domain Blocker 是做什么的
Domain Blocker 是一款面向 Firefox 的隐私与安全类扩展,主要用来拦截追踪器、屏蔽广告、管理 Cookie、加固浏览器指纹。官方对它的介绍是:Block websites by adding their domain to a list. There are two ways to block a domain. You can go to the extensions HOME/options page to manually add the domain. Or you can click on "ADD DOMAIN" within the extension's popup page.在Firefox 附加组件商店(AMO)上,它当前版本 1.9,评分 4(2 人评价),约 108 名用户。
适合什么人用
从功能定位看,Domain Blocker 更适合在意上网被跟踪、希望减少广告干扰的用户。如果你平时只是偶尔遇到相关需求,用浏览器自带功能也能凑合;但如果这件事每天都发生,装一个专门处理它的扩展通常比手动操作省事得多。需要注意的是它作用于所有网站,装上后建议先观察一两天,确认不影响常用站点的正常使用。
怎么安装 Domain Blocker
- 打开Firefox 附加组件商店(AMO)上的官方页面;
- 点「添加到浏览器」并确认权限提示;
- 装好后在扩展列表里固定图标,方便随时开关。
本站只做索引与介绍,安装包来自官方商店。如果商店页面提示当前地区不可用,说明该扩展未在你所在区域上架。
常见问题
Domain Blocker 是免费的吗?
Domain Blocker 在Firefox 附加组件商店(AMO)免费提供下载。它是浏览器扩展,装上就能直接用,不需要注册账号。
Domain Blocker 安全吗?
它只申请了 0 项权限,范围比较克制,没有申请「读取所有网站数据」这种大权限。
Domain Blocker 支持哪些浏览器?
当前收录的版本来自Firefox 附加组件商店(AMO),适用于 Firefox。同一个扩展在其他商店可能有对应版本,但功能与版本号不一定相同。
怎么卸载 Domain Blocker?
在扩展管理页找到 Domain Blocker,点移除即可。它在本地保存的设置会一起清掉,不会残留数据。
权限清单 来自 manifest.json 原文
站点访问 1
<all_urls>
接口权限 5
contextMenusstoragetabswebRequestwebRequestBlocking