Firefox's error pages still show images, even with "permissions.default.image=2"
Categories
(Firefox for Android :: General, defect)
Tracking
()
People
(Reporter: 2002luvabbaluvu, Unassigned)
Details
Steps to reproduce:
Go to about:config, set permissions.default.image to `2.
Browse to an address which will not load.
Actual results:
If the phone has airplane mode on, an error page with a mischievous fox graphic shows.
If the phone has internet access but the server is down, a large emoticon graphic shows.
Expected results:
Just text shows.
| Reporter | ||
Comment 1•4 months ago
|
||
Both images are offensive enough that I will have to switch to a console (/bin/sh) browser soon, just to block images.
| Reporter | ||
Comment 2•4 months ago
|
||
How to rebuild Firefox without those images?
Do you just search for an assets folder, then rm (or replace with 0x0 pixel images) *error*.jp*g?
| Reporter | ||
Comment 3•4 months ago
|
||
GitHub's Copilot lists 2 approaches to remove those.
- Is to remove the image's
<img>(or<svg>) tags frombrowser/base/content/aboutNetError.xhtmlorbrowser/themes/shared/aboutNetError.css. Requires to rebuild all of Firefox (for which you must install lots of libs, plus have a computer whose resources are huge). - Is to enable
toolkit.legacyUserProfileCustomizations.stylesheetsplus put.neterror .illustration, .aboutNetErrorContainer .illustration { display: none !important; background-image: none !important; }intochrome/userContent.cssin the Firefox profile’s folder; uses the Firefox profile'schromefolder, thus not applicable to smartphones.
GitHub's Copilot also says how to remove those from Waterfox, which has some of Firefox's bloat removed (thus, less resources to rebuild Waterfox). But still, do not have a computer with sufficient resources to do so.
Wish that Firefox includes an about:config flag to do so.
Comment 4•3 months ago
|
||
The severity field is not set for this bug.
:royang, could you have a look please?
For more information, please visit BugBot documentation.
Comment 5•3 months ago
|
||
Not related to settings. Moving to General.
Updated•3 months ago
|
| Reporter | ||
Comment 6•3 months ago
|
||
(In reply to Roger Yang [:royang] from comment #5)
Not related to settings. Moving to General.
Those images are bad luck. The problem is that you can not set them to "disable" (cannot shut them down). If no progress to disable those, will have to switch to a console-mode browser soon.
Description
•