Closed
Bug 152191
Opened 24 years ago
Closed 24 years ago
Image blocking based on image size
Categories
(Core :: Graphics: Image Blocking, enhancement)
Core
Graphics: Image Blocking
Tracking
()
RESOLVED
DUPLICATE
of bug 140238
People
(Reporter: jamienk, Assigned: morse)
Details
Attachments
(2 files)
Right now, images can be blocked in Mozilla based on domain. There is a RFE to
add Pattern-matching based image blocking
(http://bugzilla.mozilla.org/show_bug.cgi?id=78104). The independant project
BannerBlind by Fabricio Campos Zuardi (http://bannerblind.mozdev.org/) adds the
ability to hide images of certain dimentions via user style sheets. With
BannerBlind, the images are downloaded, and then hidden from view.
It would be great to be able to stop Moz from downloading images of certain
dimentions. This would help fight webbugs, banners, etc.
The Mac browser iCab has this ability.
| Reporter | ||
Comment 1•24 years ago
|
||
| Reporter | ||
Comment 2•24 years ago
|
||
Comment 3•24 years ago
|
||
bannerblind.mozdev.org ?
-> Image blocking
Assignee: pavlov → morse
Component: ImageLib → Image Blocking
QA Contact: tpreston → tever
Comment 4•24 years ago
|
||
Are you looking to implement this as a GUI pref like with iCab or BannerBlind?
Alternatively, you can currently block the images by using
profile.slt/chrome/userContent.css with the following lines:
img[width="1"][height="1"] { display: none !important; } /* stops web bugs */
img[width="60"][height="468"] { display: none !important; } /* stops vert ads */
img[width="468"][height="60"] { display: none !important; } /* stops horz ads */
Caveat: these filters only work if the <img> element has "width" and "height"
defined. If the source is <img src="foo.gif">, the image will _not_ get blocked.
If you still want the image to download but not display use { visibility:
hidden; } instead.
Comment 5•24 years ago
|
||
*** This bug has been marked as a duplicate of 140238 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•