搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Autoplay Block not Working

more options

I have Autoplay set to Block Audio and Video for imdb.com, but when I visit the website videos start to play.

I have Autoplay set to Block Audio and Video for imdb.com, but when I visit the website videos start to play.

所有回覆 (3)

more options

You may have to set preferences in about:config. That site doesn't autoplay here. media.autoplay.default = 5 [0:allow;1:blockAudible;5:blockAll] media.autoplay.block-event.enabled = true media.block-autoplay-until-in-foreground = false media.autoplay.allow-extension-background-pages = false media.autoplay.blocking_policy = 2

https://support.mozilla.org/en-US/questions/1378457 https://support.mozilla.org/en-US/kb/about-config-editor-firefox

由 Terry 於 修改

more options

You can look at these prefs on the about:config page to see what settings work for you to block autoplay.

  • media.autoplay.default = 5 [0:allow;1:blockAudible;5:blockAll]
  • media.autoplay.blocking_policy = 2
  • media.autoplay.allow-extension-background-pages = false
  • media.autoplay.block-event.enabled = true
  • media.block-autoplay-until-in-foreground

You can open the about:config page via the location/address bar. You can accept the warning and click "I accept the risk!" to continue.


more options

Thanks Terry and cor-el! It works now. It appears that the UI setting is broken?