Posting here is no longer possible, please use the forum of a filter list project, such as EasyList
unknown
Post
by unknown » Sat Oct 18, 2008 6:54 pm
Anybody knows on how to block this style of ads? I managed to block the iframe one and script one, but there is additionyl add steored as base64 encoded image. BTW cant block "big_searchbo" class as it's used trough the page...
Code: Select all
<!-- BEGIN xxx -->
<div class="big_searchbox" style="height: 90px; background-color: rgb(118, 173, 255);">
<div style="float: left; width: 728px; height: 90px; background-image: url(data:image/gif;base64,BASE64 ENCODED IMAGE);">
<iframe> BLOCKED </iframe>
<script style="display: none;" type="text/javascript" src="BLOCKED"></script>
</div><div style="margin: 5px; float: left; width: 45px; padding-top: 10px;"><a style="font-size: 19px; line-height: 30px; text-decoration: none; color: rgb(255, 255, 255);" href="/paypal/subscribe"><span style="font-size: 19px; line-height: 30px;">xyz text</span></a></div>
</div>
<!-- END xxx -->
rick752
Posts: 2709 Joined: Fri Jun 09, 2006 7:59 pm
Location: New York USA
Contact:
Post
by rick752 » Sat Oct 18, 2008 9:20 pm
Try this ... it should hide that div , but it won't block it:
Code: Select all
sitename.com##div[class="big_searchbox"] > div[style^="float: left; width: 728px; height: 90px; background-image:"]
asdf
Post
by asdf » Sun Oct 19, 2008 7:49 am
If your problem is only that background-image, you could identify that element and set background-image to "none". This is better done with the extension Stylish and the code would look like this:
Code: Select all
@-moz-document domain(site.com) {
.big_searchbox > div[style*="float: left; width: 728px; height: 90px; background-image:"] { background-image: none !important; }
}