Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to stop adblock plus blocking images in HTML page

Tags:

image

adblock

I am building a simple HTML page with some images, my FireFox has Adblock Plus—recently installed— and it blocks these images. I look at other similar pages on the net and they are not blocking images so why is it blocking mine?

I do not want visitors to my page to not see images if they happen to have Adblock installed in FireFox.

Some advice to allow images to show whilst ab block is on would be great. I don’t want to write exceptions or anything for my own viewing I want to set my page so that Adblock doesn’t block the images.

like image 593
Andrew Avatar asked Jun 22 '13 21:06

Andrew


People also ask

Why is AdBlock blocking my content?

If your visitors are seeing a warning like this: AdBlock has blocked a download from a site known to host malware, it's because they have the Malware Protection filter list enabled. Your domain is appearing on a list of known malware hosts maintained by Malwaredomains.com.


1 Answers

  1. I'm assuming that you're not talking about Adsense here but images hosted on your server and hard coded into your page.

  2. If so they're probably being blocked because of the file name and/or path.

Adblock will block images

  • with common ad dimensions in the file name, e.g. 'myimage_720_90.png' or 'myimage_300x250.jpg'.
  • with common ad keywords in their path (and file name), e.g. banners, adv, ad.
  • maybe other filters that analyse CSS or HTML

Check your image file names and rename some to see how it goes, try something generic like 'topwide.png or similar to avoid the filters.

like image 104
Chaoley Avatar answered Sep 25 '22 06:09

Chaoley