bartucha82 Napisano Wrzesień 8, 2005 Zgłoszenie Share Napisano Wrzesień 8, 2005 Witam. Pytanko następujące: Czy ma ktoś dobry arkusz CSS do blokowania reklam na polskich ( i nie tylko) stronkach??? Taki Ad-Block do konquerora. Bo znalazłem jeden na stronce mozilli, ale nie chwyta wszystkiego tak jak Ad-Block firefoxa. EDIT. Znalazłem to czego szukałem. Zamieszczam lekko zmodyfikowany kod AdBlockera dla opery. Zaznaczam , że nie jestem jego twórcą i wszelkie pytania należy zamieszczać na forum opery w stosownym wątku Adblocka. Podany niżej kod należy wkleić do pliku adblocker.css i w opcjach konquerora wybrać ten plik jako szablon stylu. /* * Name: Ad blocker stylesheet * Author: Jordi Kroon <jordik at gmail dot c o m> * Description: Block ads and banners through CSS. Five sections. 289 lines. * Revision: 29 July 2005 * * http://my.opera.com/community/rdf/rdf.pl?author=2630 (RSS) for updates * * Licensed under the Creative Commons license, CC-BY-NL 2.0: * http://creativecommons.org/licenses/by/2.0/nl/ * * Contact: Jordi Kroon <jordik AT gmail DOT com>. * * Contains work by M.Niess <maze AT yumdap DOT net>. * http://blog.yumdap.net/archives/30-My-rece...era-tweaks.html */ /* 1: Universal ad banner killer (468 width) */ [width=468] { display: none !important } /* Fix some of the many false matches caused by the above */ body[width=468], div[width=468], table[width=468], tr[width=468], th[width=468], td[width=468], [width=468][height=680] { display: inline !important } /* 2: Webbugs, and micro-ad trackers */ [alt~=eXTReMe], [alt~=Tracker], [alt~=tracker], [alt~=XtremeStats], [alt~=Counter], [alt~=counter] { display: none !important } /* 3: match by size. */ /* ad images: any image inside a link with suspect sizes */ a img[width=775][height=600], a img[width=768][height=90], /*a img[width=759][height=58],*/ a img[width=750][height=100], a img[width=730][height=92], a img[width=728][height=90], a img[width=700][height=500], a img[width=601][height=70], a img[width=600][height=400], a img[width=600][height=120], a img[width=529][height=70], a img[width=489][height=49], a img[width=480][height=80], a img[width=472][height=84], a img[width=470][height=62], a img[width=468][height=80], a img[width=468][height=60], a img[width=468][height=58], a img[width=392][height=72], a img[width=360][height=600], a img[width=360][height=300], a img[width=336][height=850], a img[width=336][height=280], a img[width=336][height=91], a img[width=325][height=100], a img[width=325][height=60], a img[width=324][height=100], a img[width=300][height=600], a img[width=300][height=250], a img[width=234][height=60], a img[width=180][height=150], a img[width=165][height=200], a img[width=160][height=600], a img[width=156][height=74], a img[width=150][height=600], a img[width=150][height=300], a img[width=150][height=100], a img[width=140][height=200], a img[width=140][height=150], a img[width=137][height=150], a img[width=128][height=38], a img[width=125][height=800], a img[width=125][height=600], a img[width=125][height=300], a img[width=125][height=250], a img[width=125][height=125], a img[width=125][height=110], a img[width=125][height=65], a img[width=123][height=200], a img[width=122][height=602], a img[width=120][height=600], a img[width=120][height=300], a img[width=120][height=240], a img[width=120][height=60], a img[width=88][height=31], a img[width=77][height=28] { display: none !important } /* iframes: all iframes with ad banner sizes */ iframe[width=775][height=600], iframe[width=768][height=90], iframe[width=750][height=100], iframe[width=730][height=92], iframe[width=728][height=90], iframe[width=601][height=70], iframe[width=600][height=120], iframe[width=470][height=62], iframe[width=468][height=80], iframe[width=468][height=60], iframe[width=392][height=72], iframe[width=360][height=600], iframe[width=360][height=300], iframe[width=338][height=282], iframe[width=336][height=280], iframe[width=325][height=100], iframe[width=325][height=60], iframe[width=324][height=100], iframe[width=300][height=600], iframe[width=300][height=250], iframe[width=234][height=60], iframe[width=220][height=600], iframe[width=180][height=150], iframe[width=165][height=200], iframe[width=160][height=600], iframe[width=156][height=74], iframe[width=150][height=600], iframe[width=150][height=100], iframe[width=140][height=200], iframe[width=140][height=187], iframe[width=125][height=800], iframe[width=125][height=600], iframe[width=125][height=300], iframe[width=125][height=250], iframe[width=125][height=125], iframe[width=125][height=110], iframe[width=125][height=65], iframe[width=123][height=200], iframe[width=122][height=602], iframe[width=120][height=600], iframe[width=120][height=240], iframe[width=120][height=90], iframe[width=120][height=60], iframe[width=110][height=125], iframe[width=88][height=31], iframe[width=77][height=28] { display: none !important } /* Ad sized objects (mostly Flash) */ object[width=775][height=600], object[width=768][height=90], object[width=750][height=100], object[width=730][height=92], object[width=728][height=90], object[width=700][height=500], object[width=601][height=70], object[width=600][height=120], object[width=520][height=185], object[width=470][height=62], object[width=468][height=80], object[width=468][height=60], object[width=392][height=72], object[width=360][height=600], object[width=360][height=300], object[width=336][height=280], object[width=300][height=600], object[width=300][height=250], object[width=234][height=60], object[width=180][height=150], object[width=171][height=600], object[width=170][height=600], object[width=165][height=200], object[width=160][height=600], object[width=156][height=74], object[width=150][height=600], object[width=150][height=100], object[width=140][height=200], object[width=130][height=130], object[width=125][height=800], object[width=125][height=600], object[width=125][height=300], object[width=125][height=250], object[width=125][height=125], object[width=125][height=110], object[width=125][height=65], object[width=123][height=200], object[width=122][height=602], object[width=120][height=600], object[width=120][height=240], object[width=120][height=90], object[width=120][height=60], object[width=110][height=125], object[width=88][height=31], object[width=77][height=28] { display: none !important } /* Ad sized embeds (mostly Flash) */ embed[width=775][height=600], embed[width=768][height=90], embed[width=750][height=100], embed[width=730][height=92], embed[width=728][height=90], embed[width=700][height=500], embed[width=601][height=70], embed[width=600][height=120], embed[width=520][height=185], embed[width=470][height=62], embed[width=468][height=80], embed[width=468][height=60], embed[width=392][height=72], embed[width=360][height=600], embed[width=360][height=300], embed[width=336][height=280], embed[width=300][height=600], embed[width=300][height=250], embed[width=234][height=60], embed[width=180][height=150], embed[width=171][height=600], embed[width=170][height=600], embed[width=165][height=200], embed[width=160][height=600], embed[width=156][height=74], embed[width=150][height=600], embed[width=150][height=100], embed[width=140][height=200], embed[width=130][height=130], embed[width=125][height=800], embed[width=125][height=600], embed[width=125][height=300], embed[width=125][height=250], embed[width=125][height=125], embed[width=125][height=110], embed[width=125][height=65], embed[width=123][height=200], embed[width=122][height=602], embed[width=120][height=600], embed[width=120][height=240], embed[width=120][height=90], embed[width=120][height=60], embed[width=110][height=125], embed[width=88][height=31], embed[width=77][height=28] { display: none !important } /* 4: Match by ad text. Case-insensitive! */ /* IDs */ #ad, #Ad, #ad-banner, #Ad-banner, #Ad-Banner, #ad_banner, #Ad_banner, #Ad_Banner, #adbanner, #Adbanner, #adbar, #Adbar, #advert, #Advert, #advertisement, #Advertisement, #ad-block, #Ad-block, #Ad-Block, #ads, #Ads, #banner-ad, #Banner-ad, #Banner-Ad, #banner_ad, #Banner_ad, #Banner_Ad, #dropin, #Dropin, #DropIn, #dwindow, #Dwindow, #DWindow, #banner1, #Banner1, #banner2, #Banner2, #banner3, #Banner3, #banner4, #Banner4, #banner5, #Banner5, #banner6, #Banner6, #sponsor, #Sponsor, #sponsors, #Sponsors, #reclame, #Reclame, #werbung, #Werbung { display: none !important } /* Classes */ .ad, .Ad, .ad-banner, .Ad-banner, .Ad-Banner, .ad_banner, .Ad_banner, .Ad_Banner, .adbanner, .Adbanner, .adbar, .Adbar, .advert, .Advert, .advertisement, .Advertisement, .ad-block, .Ad-block, .Ad-Block, .ads, .Ads, .banner-ad, .Banner-ad, .Banner-Ad, .banner_ad, .Banner_ad, .Banner_Ad, .dropin, .Dropin, .DropIn, .dwindow, .Dwindow, .DWindow, .banner1, .Banner1, .banner2, .Banner2, .banner3, .Banner3, .banner4, .Banner4, .banner5, .Banner5, .banner6, .Banner6, .sponsor, .Sponsor, .sponsors, .Sponsors, .reclame, .Reclame, .werbung, .Werbung { display: none !important } /* Names */ [name~=ad], [name~=Ad], [name~=ad-banner], [name~=Ad-banner], [name~=Ad-Banner], [name~=ad_banner], [name~=Ad_banner], [name~=Ad_Banner], [name~=adbanner], [name~=Adbanner], [name~=adbar], [name~=Adbar], [name~=advert], [name~=Advert], [name~=advertisement], [name~=Advertisement], [name~=ad-block], [name~=Ad-block], [name~=Ad-Block], [name~=ads], [name~=Ads], [name~=banner-ad], [name~=Banner-ad], [name~=Banner-Ad], [name~=banner_ad], [name~=Banner_ad], [name~=Banner_Ad], [name~=dropin], [name~=Dropin], [name~=DropIn], [name~=dwindow], [name~=Dwindow], [name~=DWindow], [name~=banner1], [name~=Banner1], [name~=banner2], [name~=Banner2], [name~=banner3], [name~=Banner3], [name~=banner4], [name~=Banner4], [name~=banner5], [name~=Banner5], [name~=banner6], [name~=Banner6], [name~=sponsor], [name~=Sponsor], [name~=sponsors], [name~=Sponsors], [name~=reclame], [name~=Reclame], [name~=werbung], [name~=Werbung] { display: none !important } /* Ad image alt strings */ [alt~=ad], [alt~=Ad], [alt~=ad-banner], [alt~=Ad-banner], [alt~=Ad-Banner], [alt~=ad_banner], [alt~=Ad_banner], [alt~=Ad_Banner], [alt~=adbanner], [alt~=Adbanner], [alt~=adbar], [alt~=Adbar], [alt~=advert], [alt~=Advert], [alt~=advertisement], [alt~=Advertisement], [alt~=ad-block], [alt~=Ad-block], [alt~=Ad-Block], [alt~=ads], [alt~=Ads], [alt~=banner-ad], [alt~=Banner-ad], [alt~=Banner-Ad], [alt~=banner_ad], [alt~=Banner_ad], [alt~=Banner_Ad], [alt~=dropin], [alt~=Dropin], [alt~=DropIn], [alt~=dwindow], [alt~=Dwindow], [alt~=DWindow], [alt~=banner1], [alt~=Banner1], [alt~=banner2], [alt~=Banner2], [alt~=banner3], [alt~=Banner3], [alt~=banner4], [alt~=Banner4], [alt~=banner5], [alt~=Banner5], [alt~=banner6], [alt~=Banner6], [alt~=sponsor], [alt~=Sponsor], [alt~=sponsors], [alt~=Sponsors], [alt~=reclame], [alt~=Reclame], [alt~=werbung], [alt~=Werbung] { display: none !important } /* Click here for an ad! */ a[target=_top] img[alt~=click], a[target=_top] img[alt~=Click] { display: none !important } /* 5: site & network specifics */ /* Misc. */ table[width=844][border=0][height=200], table[width=73%][border=0] { display: none !important } /* Realmedia ads */ #skyScraper, #skyScraperAd, #sky-inline { display: none !important } /* Keenspot etc. */ table[cellpadding=0][cellspacing=3][border=0][width=170] { display: none !important } /*Gamespy etc. */ #adboxtable, #boxzillabox { display: none !important } /* Google rads */ table[cellspacing=0][cellpadding=0][width=25%][align=right][bgColor=#ffffff][border=0] { display: none !important } /* Begging buttons */ [alt~=donate], [alt~=Donate], [title~=donate], [title~=Donate], [alt=paypal], [alt~=Paypal], [title~=paypal], [title~=Paypal], [alt=Amazon Honor System], input[src=https://www.paypal.com/en_US/i/btn/x-click-but04.gif] { display: none !important } /* The Inquirer */ tr#tr_topbanner, div#article_body_ad, div#article_body_bottomAd, td#rb, div a[target=_blank] img[width=125][border=0] { display: none !important } /* The Onion */ table[cellpadding=0][cellspacing=0][border=0][align=right][valign=top] table[cellpadding=0][cellspacing=0][border=0][align=center], table[width=800][cellpadding=0][cellspacing=3][border=0] { display: none !important } /* SlashDot */ table table table[width=346][height=280] { display: none !important } /* ZDnet */ td[width=225].ModuleContent2 { display: none !important } /* MSNBC */ td.textSmallGrey, div.textSmallGrey, div.DColumnBody, div.DCol, div.DColumnAd { display: none !important } /* Aftenposten + Dagbladet */ [class|=sistenytt], [class|=ad468], [class|=ad768], .topp-ad, .ad335, .ad468, .ad100x150, .ad180x500, .ad860x448 { display: none !important } /* X-E */ td[width=164]#trmain, p[align=center] font.font_smallblacknobold { display: none !important } /* Tweakers.net */ #b_468, #b_728, #b_728_bg, #bigad, #b_bigad_tmp, #b_sky, #textad { display: none !important } /* Jeuxonline.info forums */ table.alt2, div#jpd2 { display: none !important } /* Heise.de */ .kasten_markt, .kasten_markt_titel, .contentbanner, cadv, skyscraper, .sky-inline, .sky, .adbottom_itmarkt, .bannerlayer, .sponsor, .heiseadvert, .leaderboard { display: none !important } /* fix Guardian Unlimited */ a img[width=120][height=60][alt=Guardian Unlimited], { display:inline !important } /* other */ #ad-text, #ad-top, #ad-right, #OvertureStandaloneDivHolder, #OvertureArtTrailDivHolder, .adbox { display: none !important } A:link[hrEF*=addata] IMG, A:link[hrEF*=ad.] IMG, A:link[hrEF*=ads.] IMG, A:link[hrEF*=/ad] IMG, A:link[hrEF*=/A=] IMG, A:link[hrEF*=/click] IMG, A:link[hrEF*=?click] IMG, A:link[hrEF*=?banner] IMG, A:link[hrEF*==click] IMG, A:link[hrEF*=clickurl=] IMG, A:link[hrEF*=.atwola.] IMG, A:link[hrEF*=spinbox.] IMG, A:link[hrEF*=transfer.go] IMG, A:link[hrEF*=adfarm] IMG, A:link[hrEF*=adserve] IMG, A:link[hrEF*=.banner] IMG, A:link[hrEF*=bluestreak] IMG, A:link[hrEF*=doubleclick] IMG, A:link[hrEF*=/rd.] IMG, A:link[hrEF*=/0AD] IMG, A:link[hrEF*=.falkag.] IMG, A:link[hrEF*=trackoffer.] IMG, A:link[hrEF*=*adserver.*/*] IMG, A:link[hrEF*=i.interia.], A:link[hrEF*=adidm.supermedia.pl/*], A:link[hrEF*=*.adocean.pl/*], A:link[hrEF*=*reklam*], A:link[hrEF*=*.adserver.com/*], A:link[hrEF*=*/bannery/*], A:link[hrEF*=*/blogads/*], A:link[hrEF*=*show_ads.js*], A:link[hrEF*=*dc.sabela.com.pl/files/adnet_test/*], A:link[hrEF*=*reklama.onet.pl/*], A:link[hrEF*=*newads-img.*], A:link[hrEF*=www.allegro.pl/ap/show.php?type=*], A:link[hrEF*=*bannerid=*], A:link[hrEF*=adsv.interia.pl/*], A:link[hrEF*=*view.atdmt.com/*], A:link[hrEF*=tracksponsor.] IMG { display: none ! important } /* disable ad iframes */ IFRAME[sRC*=addata], IFRAME[sRC*=ad.], IFRAME[sRC*=ads.], IFRAME[sRC*=/ad], IFRAME[sRC*=/A=], IFRAME[sRC*=/click], IFRAME[sRC*=?click], IFRAME[sRC*=?banner], IFRAME[sRC*==click], IFRAME[sRC*=clickurl=], IFRAME[sRC*=.atwola.], IFRAME[sRC*=spinbox.], IFRAME[sRC*=transfer.go], IFRAME[sRC*=adfarm], IFRAME[sRC*=adserve], IFRAME[sRC*=.banner], IFRAME[sRC*=bluestreak], IFRAME[sRC*=doubleclick], IFRAME[sRC*=/rd.], IFRAME[sRC*=/0AD], IFRAME[sRC*=.falkag.], IFRAME[sRC*=trackoffer.], IFRAME[sRC*=adserver.], IFRAME[sRC*=i.interia.], IFRAME[sRC*=*/bannery/*], IFRAME[sRC*=*/blogads/*], IFRAME[sRC*=*.adocean.pl/*], IFRAME[sRC*=*.adserver.com/*], IFRAME[sRC*=*dc.sabela.com.pl/files/adnet_test/*], IFRAME[sRC*=*newads-img.*], IFRAME[sRC*=*pagead2.googlesyndication.com/pagead/ads?*], IFRAME[sRC*=*reklama.onet.pl/*], IFRAME[sRC*=www.allegro.pl/ap/show.php?type=*], IFRAME[sRC*=*view.atdmt.com/*], IFRAME[sRC*=*advertising.com/*], IFRAME[sRC*=adsv.interia.pl/*], IFRAME[sRC*=*show_ads.js], IFRAME[sRC*=*reklam*], IFRAME[sRC*=*bannerid=*], IFRAME[sRC*=*banner=*], IFRAME[sRC*=adidm.supermedia.pl/*], IFRAME[sRC*=http://*.valueclick.com/*], IFRAME[sRC*=tracksponsor.] { display: none ! important } /* miscellaneous different blocking rules to block some stuff that gets through */ A:link[onmouseover*=AdSolution] IMG, *[iD=inlinead], *[iD=ad_creative], IMG[sRC*=.msads.] { display: none ! important } /* turning some false positives back off */ A:link[hrEF*=thread.] IMG, A:link[hrEF*=download.] IMG, A:link[hrEF*=netflix.com/AddToQueue] IMG, A:link[hrEF*=click.mp3] IMG { display: inline ! important } Proszę o przyklejenie tego wątku ponieważ stanowi jakąś instrukcję i pomoc dla użytkowników Konquerora. Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
Rekomendowane odpowiedzi
Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto
Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.
Zarejestruj nowe konto
Załóż nowe konto. To bardzo proste!
Zarejestruj sięZaloguj się
Posiadasz już konto? Zaloguj się poniżej.
Zaloguj się