How to block this ?

Posting here is no longer possible, please use the forum of a filter list project, such as EasyList
Locked
whitesea

How to block this ?

Post by whitesea »

hello all, how to block this http://www.opium.se/viewforum.php?id=168#DIV(style1) , http://www.opium.se/viewforum.php?id=175#DIV(style1), ............. . I to block filter this http://www.opium.se/viewforum.php?id= (...) #DIV(style1) or http://www.opium.se/viewforum.php?id= *.* #DIV(style1) but this filter don't works. Sorry for may english. Thanks
Paulfox

Post by Paulfox »

OK - here's the information on those two upper images I'm assuming you want to eliminate:

http: //www.scorpiondata.com/
http: //www.kamagra.se/

Specific image information:
http: //www.opium.se/scorpion468.jpg
http: //www.opium.se/kamagra-468x60.gif
(I've spaced out "http" so as not to make them clickable links)
Easiest way is to start a "generic" gif/jpg filter, into which you can incorporate other stuff you don't want at a later time:

/kamagra-468x60|scorpion468\.(gif|jpg)/

I noticed that filter does block the images but leaves two smaller "dots" - it's faster and easier though, and at least you don't see the images and the page is adjusted upward. If you want to change the content of the page, I'd recommend getting 2 extensions - WeB Developer tools and Stylish - and using some of the scripts available on userscript.org, make one for that site to change its appearance. Unfortunately, WeBDeveloper tools is currently not installed on my machine as I've already "tweaked" the sites I want, or I'd take a look and throw something together for you. At least for now those images are gone! The added benefit of a gif/jpg filter is you can eliminate any kind of personally annoying gifs that slow page loading, like "addtocart," sponsor, etc - or block images from sites you visit and just want to see text (I have a few of those and can't stand the page-loading of stuff I don't need to see!).

Hope this helps.
User avatar
Peng
Posts: 518
Joined: Fri Jun 09, 2006 8:14 pm
Location: Central Florida
Contact:

Post by Peng »

Paulfox wrote:If you want to change the content of the page, I'd recommend getting 2 extensions - WeB Developer tools and Stylish - and using some of the scripts available on userscript.org, make one for that site to change its appearance.
Stylish styles are on http://userstyles.org/, Greasemonkey scripts are on http://userscripts.org/.

Edit: Anyway, to answer the OP, if you get Stylish, the style below will hide the ads:

Code: Select all

@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document domain("opium.se") {
   div.style1 {
      display: none !important;
   }
}
But they'd still be downloaded. If you don't want them to be, you can just create simple filters in Adblock Plus for http://www.opium.se/scorpion468.jpg and http://www.opium.se/kamagra-468x60.gif -- that's all you need to do. You could also create a regular expression filter like /^http:\/\/(www\.)?opium\.se\/(kamagra-468x60\.gif|scorpion468\.jpg)$/ if you want to. You'd need the Stylish style to get rid of the space and small black boxes at the top of of the page, though.
Locked