Open
Bug 587536
Opened 15 years ago
Updated 3 years ago
There should allowVideos and allowAudios in the docshell to allow developers stop loading such resources
Categories
(Core :: DOM: Core & HTML, defect, P5)
Core
DOM: Core & HTML
Tracking
()
UNCONFIRMED
People
(Reporter: wind.liyong, Unassigned)
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
Build Identifier:
There should allowVideos and allowAudios in the docshell to allow developers stop loading such resources, as well as allowImages and allowPlugins
Reproducible: Always
We meet real issues on Firefox4 without this options.
Refer to:
https://addons.mozilla.org/en-US/firefox/addon/autopager/reviews/282768/
AutoPager load the pages in an hidden page to extract content elements. We can now disable images with allowImages, and disable plugins with allowPlugins. But there's no way to disable html5 videos and audios.
OS: Linux → All
Hardware: x86 → All
Comment 2•14 years ago
|
||
Could one just use content policies for this?
Comment 3•14 years ago
|
||
Yep.
Thanks for the response.
I had tried content policy. It works. But the implementation looks a little complex then the support for plugins and images.
Comment 5•14 years ago
|
||
Yes, but that's because you're trading off complexity on your side for complexity in the core....
Not only on my side. It will help a lot developers, who are using allowImages and allowPlugins to disable images and plugins will mostly need a way to disable videos and audios.
Comment 7•7 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046
Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5.
If you have questions, please contact :mdaly.
Priority: -- → P5
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•