Blocking By Domain - Plugins 编辑

Plugins such as Flash are a performance and security problem for Firefox users. However, some legacy Flash content hasn't yet been ported to HTML and is valuable to users. Rather than block plugins entirely, Firefox is limiting the impact of plugins by blocking certain domains from using plugins. These blocks improve Firefox security and performance and also make the click-to-activate feature more valuable to users by reducing unnecessary prompts.

According to the Firefox plugin roadmap, the plugin block list is planned for Firefox 55.

Effects of Plugin Blocking

Once a site is included in plugin blocking, it is not possible for that site or any subframes within that site to use plugins. Any attempt to use a plugin (via the <object> or <embed> element) will behave as if the plugin was not installed, and use fallback content as specified by the HTML standard. Plugin detection mechanisms such as navigator.mimeTypes and navigator.plugins will also behave as if the plugin were not installed.

There are two versions of plugin blocking:

First-party Plugin Blocking List
Sites on this list may not use plugins.
Third-party Plugin Block List
Sites on this list may not use plugins when they are loaded into a third-party iframe in another site.

Criteria

In order to improve Firefox security and performance, there are two major categories of sites Mozilla may choose to add to plugin domain blocking:

Sites commonly embedded in a 3rd-party context
Web sites which are commonly embedded into other sites using iframes can have a large impact on browser security and also cause many sites to show plugin activation prompts. Sites in this category may include advertisers, social media sites, and other utilities.
Top sites
Many popular sites work properly without plugins, but still prompt users for activation. In order to improve site performance and reduce the number of plugin prompts that users see, popular sites that show unnecessary plugin prompts or slow the browser down with unnecessary plugins will be added to the plugin block list.

List Contents and Updates

The plugin block lists are freely-licensed lists maintained by Mozilla in github. The initial contents of the third-party plugin block list are based on Disconnect's open source blocklist. Subsequent updates to the list will be made using telemetry from Firefox experiments. In general, sites will not be removed from the list unless there is an error that renders a site in a seriously defective manner.

Any concerns or questions about the plugin block lists should be directed to plugin-blocking-by-domain@mozilla.com.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据

词条统计

浏览:88 次

字数:3606

最后编辑:6 年前

编辑次数:0 次

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文