为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Plugins and Page Info menu: "Block" doesn't do the same thing as "Never Activate"?

  • 2 个回答
  • 2 人有此问题
  • 11 次查看
  • 最后回复者为 user885311

more options

I notice that when I set one of my browser plugins (say, Flash Player) to "Never Activate", then websites behave as if the plugin isn't installed on my computer at all; it does not detect the plugin's presence.

However, if I set Firefox to "Block" a plugin on a specific site using the "View Page Info" menu, then the website can still detect that the plugin is installed, and it will serve content associated with that plugin (say, a Flash-based video player), but Firefox will simply replace the content with a message box saying "This plugin is blocked".

This seems like inconsistent behavior to me (shouldn't "Block" do the same thing as "Never Activate"?), so I'd like to know if there is a way to set a plugin to never be activated or detected on a per-site basis.

I notice that when I set one of my browser plugins (say, Flash Player) to "Never Activate", then websites behave as if the plugin isn't installed on my computer at all; it does not detect the plugin's presence. However, if I set Firefox to "Block" a plugin on a specific site using the "View Page Info" menu, then the website can still detect that the plugin is installed, and it will serve content associated with that plugin (say, a Flash-based video player), but Firefox will simply replace the content with a message box saying "This plugin is blocked". This seems like inconsistent behavior to me (shouldn't "Block" do the same thing as "Never Activate"?), so I'd like to know if there is a way to set a plugin to never be activated or detected on a per-site basis.

所有回复 (2)

more options

With "Never Activate" you completely disable the plugin and the plugin is never used and websites can't detect it via navigators.plugins or otherwise via JavaScript. With "Ask to Activate" you allow to be prompted to use the plugin and you can set an allow exception to avoid this prompt on trusted websites. With "Always Activate" you allow the plugin to run all the time unless you block it via the permissions because you want to be prompted. If you block the plugin via the permissions then this will only prevent the plugin from getting activated without confirming this and website are still able to detect the plugin because otherwise they could/would fallback other ways to play the media file like an HTML5 media player.

more options

That's kinda of my point, you see; I actually want to force the site to use its fallback method, but I still want to be able to use the plugin on other sites. The fact that Firefox doesn't allow for this is just odd to me.