1. Este site usa cookies. Ao continuar a usar este site está a concordar com o nosso uso de cookies. Saber Mais.

[Tutorial] Ad Block

Discussão em 'Novidades GNU/Linux & *nix World' iniciada por APLinhares, 30 de Março de 2007. (Respostas: 3; Visualizações: 942)

  1. APLinhares

    APLinhares OpenSource Moderator
    Staff Member

    Boas. Fartos de ad's, e desejam definitavamente bloquear essa publicidade sem acesso a plugins e afins?
    A maneira mais rápida é erradicar o seu carregamento! Através do DNS, sendo no linux definido em /etc/hosts. É so adicionar por ex:

    Código:
    127.0.0.1       ad.addclick2.com
    127.0.0.1       adserv.sapo.pt
    127.0.0.1       origem-adimgs.sapo.pt
    127.0.0.1       ad.firstadsolution.com
    127.0.0.1       a32.g.a.yimg.com
    127.0.0.1       ad-adex3.flycast.com
    127.0.0.1       ad.adsmart.net
    127.0.0.1       ad.ca.doubleclick.net
    127.0.0.1       ad.de.doubleclick.net
    127.0.0.1       ad.doubleclick.net
    127.0.0.1       ad.fr.doubleclick.net
    127.0.0.1       ad.jp.doubleclick.net
    127.0.0.1       ad.linkexchange.com
    127.0.0.1       ad.linksynergy.com
    127.0.0.1       ad.nl.doubleclick.net
    127.0.0.1       ad.no.doubleclick.net
    127.0.0.1       ad.preferences.com
    127.0.0.1       ad.sma.punto.net
    127.0.0.1       ad.uk.doubleclick.net
    127.0.0.1       ad.webprovider.com
    127.0.0.1       ads.bfast.com
    127.0.0.1       ads.clickhouse.com
    127.0.0.1       ads.enliven.com
    127.0.0.1       ads.fairfax.com.au
    127.0.0.1       ads.fool.com
    127.0.0.1       ads.freshmeat.net
    127.0.0.1       ads.hollywood.com
    127.0.0.1       ads.i33.com
    127.0.0.1       ads.infi.net
    127.0.0.1       ads.jwtt3.com
    127.0.0.1       ads.link4ads.com
    127.0.0.1       ads.lycos.com
    127.0.0.1       ads.madison.com
    127.0.0.1       ads.mediaodyssey.com
    127.0.0.1       ads.msn.com
    127.0.0.1       ads.ninemsn.com.au
    127.0.0.1       ads.seattletimes.com
    127.0.0.1       ads.smartclicks.com
    127.0.0.1       ads.smartclicks.net
    127.0.0.1       ads.sptimes.com
    127.0.0.1       ads.tripod.com
    127.0.0.1       ads.web.aol.com
    127.0.0.1       ads.x10.com
    127.0.0.1       ads.xtra.co.nz
    127.0.0.1       ads.zdnet.com
    127.0.0.1       ads1.activeagent.at
    127.0.0.1       ads2.zdnet.com
    127.0.0.1       ads3.zdnet.com
    127.0.0.1       ads3.zdnet.com
    127.0.0.1       ads5.gamecity.net
    127.0.0.1       adserv.iafrica.com
    127.0.0.1       adserv.quality-channel.de
    127.0.0.1       adserver.dbusiness.com
    127.0.0.1       adserver.garden.com
    127.0.0.1       adserver.janes.com
    127.0.0.1       adserver.merc.com
    127.0.0.1       adserver.monster.com
    127.0.0.1       adserver.track-star.com
    127.0.0.1       adserver1.ogilvy-interactive.de
    127.0.0.1       adtegrity.spinbox.net
    127.0.0.1       antfarm-ad.flycast.com
    127.0.0.1       au.ads.link4ads.com
    127.0.0.1       banner.media-system.de
    127.0.0.1       banner.orb.net
    127.0.0.1       banner.relcom.ru
    127.0.0.1       banners.easydns.com
    127.0.0.1       banners.looksmart.com
    127.0.0.1       banners.wunderground.com
    127.0.0.1       barnesandnoble.bfast.com
    127.0.0.1       beseenad.looksmart.com
    127.0.0.1       bizad.nikkeibp.co.jp
    127.0.0.1       bn.bfast.com
    127.0.0.1       c3.xxxcounter.com
    127.0.0.1       califia.imaginemedia.com
    127.0.0.1       cds.mediaplex.com
    127.0.0.1       click.avenuea.com
    127.0.0.1       click.go2net.com
    127.0.0.1       click.linksynergy.com
    127.0.0.1       cookies.cmpnet.com
    127.0.0.1       cornflakes.pathfinder.com
    127.0.0.1       counter.hitbox.com
    127.0.0.1       crux.songline.com
    127.0.0.1       erie.smartage.com
    127.0.0.1       etad.telegraph.co.uk
    127.0.0.1       fp.valueclick.com
    127.0.0.1       gadgeteer.pdamart.com
    127.0.0.1       gm.preferences.com
    127.0.0.1       gp.dejanews.com
    127.0.0.1       hg1.hitbox.com
    127.0.0.1       image.click2net.com
    127.0.0.1       image.eimg.com
    127.0.0.1       images2.nytimes.com
    127.0.0.1       jobkeys.ngadcenter.net
    127.0.0.1       kansas.valueclick.com
    127.0.0.1       leader.linkexchange.com
    127.0.0.1       liquidad.narrowcastmedia.com
    127.0.0.1       ln.doubleclick.net
    127.0.0.1       m.doubleclick.net
    127.0.0.1       macaddictads.snv.futurenet.com
    127.0.0.1       maximumpcads.imaginemedia.com
    127.0.0.1       media.preferences.com
    127.0.0.1       mercury.rmuk.co.uk
    127.0.0.1       mojofarm.sjc.mediaplex.com
    127.0.0.1       nbc.adbureau.net
    127.0.0.1       newads.cmpnet.com
    127.0.0.1       ng3.ads.warnerbros.com
    127.0.0.1       ngads.smartage.com
    127.0.0.1       nsads.hotwired.com
    127.0.0.1       ntbanner.digitalriver.com
    127.0.0.1       rd.yahoo.com
    127.0.0.1       realads.realmedia.com
    127.0.0.1       redherring.ngadcenter.net
    127.0.0.1       redirect.click2net.com
    127.0.0.1       regio.adlink.de
    127.0.0.1       retaildirect.realmedia.com
    127.0.0.1       s2.focalink.com
    127.0.0.1       sh4sure-images.adbureau.net
    127.0.0.1       spin.spinbox.net
    127.0.0.1       static.admaximize.com
    127.0.0.1       stats.superstats.com
    127.0.0.1       sview.avenuea.com
    127.0.0.1       thinknyc.eu-adcenter.net
    127.0.0.1       tracker.clicktrade.com
    127.0.0.1       tsms-ad.tsms.com
    127.0.0.1       v0.extreme-dm.com
    127.0.0.1       v1.extreme-dm.com
    127.0.0.1       van.ads.link4ads.com
    127.0.0.1       view.accendo.com
    127.0.0.1       view.avenuea.com
    127.0.0.1       w113.hitbox.com
    127.0.0.1       w25.hitbox.com
    127.0.0.1       www4.trix.net
    127.0.0.1       www80.valueclick.com
    
    ou manualmente:
    sudo echo "127.0.0.1 ad.addclick2.com" >> /etc/hosts

    Porque funciona? Porque será dito ao sistema que estes últimos são ficheiros locais, e como não existem são rápidamente ignorados ;)

    Baseado em
    1, 2.

    Cumps
     
    Última edição: 30 de Março de 2007
  2. Metro

    Metro Benevolent Dictator For Life
    Staff Member

    Pq não usas o adblock plus e o Gupdater no Firefox?
     
  3. APLinhares

    APLinhares OpenSource Moderator
    Staff Member

    Porque não bloqueia outro pub (tipo via wine, sapo messenger :D)
     
  4. Lancaster

    Lancaster To fold or to FOLD?

    Heyas all..

    Eu por acaso também uso algo do género (mas para windows), saco o ficheiro hosts daqui http://www.mvps.org/winhelp2002/hosts.htm, e é só copiar para a directoria certa, alguém deve conseguir adaptar o ficheiro (caso os formatos sejam diferentes ) para unix não?

    Hasta all [[]]
     

Partilhar esta Página