Javascript Firewall 作者: Bill
Block JavaScript of unwanted origin.
必須使用 Firefox 才能使用此擴充套件
擴充套件後設資料
畫面擷圖
關於此擴充套件
This extension is intended for advanced users. Some websites will require configuration to work properly.
For each website, you can decide from which domains JavaScript is allowed.
By default, only scripts from the same domain than the website are allowed.
Interface
Limitations
The extension does not work on domains listed in the preference "extensions.webextensions.restrictedDomains", mainly Mozilla websites such as https://addons.mozilla.org
GitHub
https://github.com/billdoor1/javascript_firewall
For each website, you can decide from which domains JavaScript is allowed.
By default, only scripts from the same domain than the website are allowed.
Interface
- The table shows how many requests have been blocked or allowed on the web page for each domain. Each column of the table represents a type of request:
- JS: javascript code: <script> and Workers
- XHR: data request: XMLHttpRequest, Fetch, WebSocket, Beacon, ping, and Content-Security-Policy-report
- FRAME: external content: <iframe>, <frame>, <object> and <embed>
- dark red: blocked explicitly
- light red: blocked by a more general rule
- light green: allowed by a more general rule
- dark green: allowed explicitly
- The drop-down list at the top left indicates on which websites the rules apply.
By default, a rule only applies to the website's domain and it's subdomains.
If you want to create a rule that applies to all websites, select "all websites". - The 5 buttons:
- Reload: For the new rules to take effect, the page must be reloaded.
- List: Manage the settings and the rules you have created. You can use the text mode to manually edit your rules (4th screenshot)
- Disable/Enable: When disabled, the addon will not block anything for the current tab but will still count requests.
- Delete: Delete the rules you have created for the current website.
- Arrow: Display all the parent domains. It makes it possible to create a rule which will apply to all its subdomains.
- The badge on the icon shows the number of blocked requests.
- Make Youtube works (1st screenshot)
- Go to a Youtube video and click on the addon icon
- Click on the arrow button to display the parent domains
- Allow XMLHttpRequest (XHR) for googlevideo.com
- Reload the page
- Allow embedded YouTube videos on all websites (2nd screnshot)
- Go to a Youtube video
- Click on the arrow button to display the parent domains
- Select "all websites" in the drop-down list
- Allow JS, XHR and FRAME for www.youtube.com and XHR for googlevideo.com
- Allow everything for a website (3rd screenshot)
- Make the "JS", "XHR" and "FRAME" cells dark green
Limitations
The extension does not work on domains listed in the preference "extensions.webextensions.restrictedDomains", mainly Mozilla websites such as https://addons.mozilla.org
GitHub
https://github.com/billdoor1/javascript_firewall
為您的體驗打分數
權限了解更多
此附加元件需要:
- 在上網時了解瀏覽器行為狀態
- 存取您所有網站中的資料
更多資訊
- 附加元件網址
- 版本
- 1.4
- 大小
- 17.15 KB
- 最近更新
- 2 年前 (2022年5月10日)
- 相關分類
- 授權條款
- Mozilla Public License 2.0
- 版本紀錄
新增至收藏集
1.4 版的發行公告
interface:
- support browser dark mode (Firefox >= 67)
- text mode is now the only way to edit rules in the options page
bug fix:
- blocking javascript for the website domain no longer block javascript for others domains
- scripts imported with importScripts were sometimes not blocked
- inline scripts in iframes were not blocked when javascript was not allowed for their domain
- works if the page uses the HTTP header csp-sandbox
rules:
- support local hostnames like "localhost"
- allow rules with punycode hostnames
- support browser dark mode (Firefox >= 67)
- text mode is now the only way to edit rules in the options page
bug fix:
- blocking javascript for the website domain no longer block javascript for others domains
- scripts imported with importScripts were sometimes not blocked
- inline scripts in iframes were not blocked when javascript was not allowed for their domain
- works if the page uses the HTTP header csp-sandbox
rules:
- support local hostnames like "localhost"
- allow rules with punycode hostnames
Bill 製作的更多擴充套件
- 目前沒有評分
- 目前沒有評分
- 目前沒有評分
- 目前沒有評分
- 目前沒有評分
- 目前沒有評分