mirror of
https://github.com/DandelionSprout/adfilt.git
synced 2026-10-05 08:01:07 +01:00
Add files via upload
This commit is contained in:
@@ -1,112 +1,417 @@
|
||||
# Title: 📔 Dandelion Sprouts nordiske filtre (Domenelisteversjonen)
|
||||
# Translated title: Dandelion Sprout's Nordic Filters (The domains list version)
|
||||
# Version: 18May2019v1-Beta
|
||||
# Description: This list is meant for tools that solely or primarily deal with pure domains, such as Pi-Hole, Google Hit Hider by Domain, and Samsung Knox.
|
||||
# Don't be worried if you see entries that resemble major Nordic websites; those are wildcard entries for use with e.g. Samsung Knox, that attempts to prevent phishing sites that have stolen the website brands in question.
|
||||
# For mere informasjon og detaljer om denne listen og om andre lister jeg har laget, gå til https://github.com/DandelionSprout/adfilt/blob/master/Wiki/General-info.md#norsk
|
||||
# For more information and details about this list and other lists of mine, go to https://github.com/DandelionSprout/adfilt/blob/master/Wiki/General-info.md#english
|
||||
.102.112.2o7.net
|
||||
.abafort.us
|
||||
.ad.no.doubleclick.net
|
||||
{+block}
|
||||
# Version: 18May2019v3
|
||||
# Version: 180520193 (for Adblock Plus' issue report system)
|
||||
# Title: 🏔️ Dandelion Sprouts nordiske filtre for ryddigere nettsider
|
||||
# Translated title: Dandelion Sprout's Nordic filters for tidier websites
|
||||
# Expires: 12 hours
|
||||
# Redirect: https://raw.githubusercontent.com/DandelionSprout/adfilt/master/NorwegianExperimentalList%20alternate%20versions/NordicFiltersABP.txt
|
||||
# Lisens / Licence: https://github.com/DandelionSprout/adfilt/blob/master/LICENSE.md
|
||||
# 🇳🇴: Denne listen dekker nettsteder for Norge, Danmark, Island, Færøyene, Grønland, og samebefolkningen. For mere informasjon, detaljer, hjelpemidler, og andre lister jeg har laget, gå til https://github.com/DandelionSprout/adfilt/blob/master/Wiki/General-info.md#norsk
|
||||
# 🇩🇰: Denne liste dækker websider for Danmark, Norge, Island, Færøerne, Grønland, og den samiske befolkning. For mere information, detaljer, nyttige værktøjer og andre lister, jeg har lavet, besøg https://github.com/DandelionSprout/adfilt/blob/master/Wiki/General-info.md
|
||||
# Description: 🇬🇧: This list covers websites for Norway, Denmark, Iceland, Danish territories, and the Sami indigenous population. For more information, details, helpful tools, and other lists that I've made, visit https://github.com/DandelionSprout/adfilt/blob/master/Wiki/General-info.md#english
|
||||
# If you wish to remove cookie banners from Nordic websites, check out https://www.i-dont-care-about-cookies.eu/
|
||||
#
|
||||
# 🇳🇴: Ukategoriserte oppføringer
|
||||
# 🇩🇰: Ukategoriserede opføringer
|
||||
{+block{Uncategorised entries}}
|
||||
.oasfile
|
||||
/ad-video-log.php
|
||||
/prerolls/*
|
||||
.8m.com/fs_img/bannertype/
|
||||
.boligsamvirket.no/promsys/
|
||||
.client-stream-events.mtg-api.com/client-stream-events/event/viafree/
|
||||
.cluster.chart.dk
|
||||
.dk-ekstrabladet.vp.videoplaza.tv
|
||||
.dk.panel.gemius.dk
|
||||
.dotbanner.dk
|
||||
.dust2.dk/img/banners/*
|
||||
.emediate.eu
|
||||
.f-b.no/includes/sidebanner
|
||||
.folk.rbnett.no/widgets/24
|
||||
.freewheel-mtgx-tv.akamaized.net
|
||||
.g2.start.no/img/dominans/
|
||||
.gaysir.no/rek/rekimg/
|
||||
.gulesider.no/bannersys-pics/
|
||||
.akamai.net
|
||||
.humor911.no/annonseweb/
|
||||
.img8.custompublish.com/publish/getbanner.php/
|
||||
.ish.tumedia.no/ish_tracker.gif
|
||||
.isweb.no
|
||||
.itavisen.no/annonsorer/
|
||||
.itpro.no/images/adheaders/
|
||||
.cdn.ravenjs.com
|
||||
.karrierestart.no/Home/TopBannerContent
|
||||
.media2.origo.no/images/
|
||||
.mobilen.no/wip4/oc_scrollbar/
|
||||
.no-vg.cdn.videoplaza.tv/creatives/
|
||||
.openadex.dk
|
||||
.opinion.peytz.dk
|
||||
.klikk.no/common/js/klikk.desktop-thirdparty.min.js
|
||||
.propaganda.net/img/reklame.
|
||||
.propaganda.net/js/global.js
|
||||
.r.api.no/componada/resources/web/flash/
|
||||
.static.tek.no/images/main/bodyBgStretch.png
|
||||
.tb.no/polopoly_fs/ledige-jobber-flash-7.13191!/
|
||||
.tns-gallup.dk
|
||||
.userneeds.dk
|
||||
.viasport-assets.mtg-api.com/*/prod/comScore-*.js
|
||||
.webtips.no/banneradmin/
|
||||
.yfrog.com/htzywuj:medium
|
||||
#
|
||||
# Ads (Section under construction)
|
||||
.ad.*.no
|
||||
.ad1.*.no
|
||||
.ad1.emediate.dk
|
||||
.adamaruiz.org
|
||||
.adext.inkclub.com
|
||||
.adidasko.com
|
||||
.adidasoutletnorway.eu
|
||||
.adidassuperstarnorge.com
|
||||
.ads.no
|
||||
.ads.xion.dk
|
||||
.adserver.digitoday.com
|
||||
.adserver.fbg.dk
|
||||
.adserver.karamco.dk
|
||||
.adserver.wagawaga.dk
|
||||
.adcache.*.no
|
||||
.ads.*.no
|
||||
.ads.*.dk
|
||||
.adserver.*.dk
|
||||
.adservicemedia.dk
|
||||
.annonser.*.no
|
||||
.banner.*.no
|
||||
.helios.*.no
|
||||
.euroads.dk
|
||||
.austevollforlag.no/wp-content/*/annonsar/
|
||||
.austevollforlag.no/wp-content/*/yachtmarine2014.
|
||||
.norskenettsider.no/images/remember-banner-2016.jpg
|
||||
.norskenettsider.no/images/ageras-banner.jpg
|
||||
.eyjar.net/skrar/ads
|
||||
.amino.dk/images/partners/agera/240x140-forside-hardcoded*.jpg
|
||||
.nvnytt.no/images/*annonse-
|
||||
.track.adform.net
|
||||
.track.adform.net/Banners/
|
||||
.tvshop.com/tradedoubler_files/
|
||||
.bornholm.nu/nonsec/banner
|
||||
.dk/ad/
|
||||
.dk/ads/
|
||||
.is/ad/
|
||||
.is/ads/
|
||||
.no/ad/
|
||||
.no/ads/
|
||||
/reklam/*
|
||||
/reklame/*
|
||||
/annonse/*
|
||||
/auglysing/*
|
||||
/bilder/erotikk1.jpg
|
||||
/Bannere/*
|
||||
#
|
||||
# Leftover empty spaces that EasyList have left behind (Section under construction)
|
||||
#
|
||||
# Empty divider spaces (Section under construction)
|
||||
#
|
||||
# Distracting background images (Section under construction)
|
||||
.images.media.xxlsports.com/images/h90/h9d/9339713159198/bg.jpg
|
||||
.platekompaniet.no/assets/img/background.png
|
||||
.pepcall.no/wp-content/uploads/2015/04/bakgrunn-forside.jpg
|
||||
#
|
||||
# 🇳🇴: Multidomeneoppføringer
|
||||
# 🇩🇰: Multidomæneposter
|
||||
{+block{Multi-domain entries}}
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
# 🇳🇴: Norsk Tipping, inkl. tvilsomt motiverte lottoreklamer (Noen ikke-påtrengende tippereklamer er greit nok i mine øyne)
|
||||
{+block{Norsk Tipping, incl. poorly motivated lotto ads (A few non-pushy football pool ads are fine in my book)}}
|
||||
.widget.norsktippingpartner.no
|
||||
.widget.tippebannere.no
|
||||
.tipster.no/embed
|
||||
#
|
||||
#
|
||||
#
|
||||
{+block{Category: Website-specific}}
|
||||
#
|
||||
# VG
|
||||
.static.vg.no/css/admark_top.gif
|
||||
.vglista.no/wp-content/themes/vglista/img/partner/
|
||||
# ↓ Attempts to resolve how some frontpage articles are hard to open when using EasyPrivacy. ↓
|
||||
#
|
||||
# 🇳🇴: TV2
|
||||
# 🇩🇰: TV2 Norge
|
||||
{+block{TV2 Norway}}
|
||||
.tv2.no/s/lab/2.5/p/img/tv2-background.svg
|
||||
# ↓ Attempting to fix a problem with voting online on Idol Norway when using EasyPrivacy. ↓
|
||||
#
|
||||
# Nettavisen
|
||||
# It was difficult to place the line between adticles that had educational values and which ones that didn't, but I feel I did a decent job at it
|
||||
/resources/dfp/*
|
||||
#
|
||||
# Filmweb
|
||||
.filmweb.no/template_v2/adverticement/
|
||||
#
|
||||
# ——————————————————————————————————————————————————————
|
||||
#
|
||||
{+block{Category: Entire domains, scams, and phishing}}
|
||||
#
|
||||
# 🇳🇴: Regler for hele nettsteder, som er kategorisert for å gjøre det enklere for meg å lage en «hosts»-versjon av denne listen
|
||||
{+block{Rules for entire websites, categorised to make it easier for me to make a \"hosts\" version of this list}}
|
||||
.ad.no.doubleclick.net
|
||||
.webclick.no
|
||||
.webhotell.enivest.no
|
||||
.rig.idg.no
|
||||
.adext.inkclub.com
|
||||
.ads.no
|
||||
.stats.bonzaii.no
|
||||
.pool.euroads.no
|
||||
.primetime.ad.primetime.net
|
||||
.myad.no
|
||||
.nettklikk.no
|
||||
.imp.euroads.no
|
||||
.i1media.no
|
||||
.easy-ad.no
|
||||
.emerio.no
|
||||
.bolinux3.hit.no
|
||||
.cmt.no
|
||||
.piwik.onlinemagasinet.no
|
||||
.flashbanner.no
|
||||
.bannere.oslonett.no
|
||||
#
|
||||
# 🇳🇴: Solcellespesialisten, innlastingsproblem
|
||||
{+block{Solcellespesialisten, loading issue}}
|
||||
.wo.tc
|
||||
#
|
||||
# ——————————————————————————————————————————————————————————————
|
||||
#
|
||||
{+block{Category: Particularly appreciated fan contributions}}
|
||||
#
|
||||
# 🇳🇴: Lagt til etter forespørsel fra tilhengere og bidragsytere
|
||||
# 🇩🇰: Tilføjet efter anmodninger fra tilhængere og bidragydere
|
||||
{+block{Added on requests from fans and contributors}}
|
||||
.sannsyn.com
|
||||
# https://github.com/DandelionSprout/adfilt/issues/7#issuecomment-493478718
|
||||
#
|
||||
# 🇳🇴: Vindusviskere for betalte artikler (sånn at de nederste linjene i en forhåndsvisning ikke toner ut)
|
||||
# Takk til THEtomaso (https://github.com/THEtomaso) for de fleste av disse oppføringene.
|
||||
# 🇩🇰: Vinduesviskere for betalte artikler (så de sidste par linjer i en forhåndsvisning ikke falder ud)
|
||||
# Tak til THEtomaso (https://github.com/THEtomaso) for de fleste av disse opføringer.
|
||||
{+block{De-blurrers for paid articles (so that the last few lines of a preview doesn't fade out)}}
|
||||
# Thanks to THEtomaso (https://github.com/THEtomaso) for most of these entries.
|
||||
.dagligvarehandelen.no/sites/all/themes/custom/ledelseas/gfx/veil.png
|
||||
#
|
||||
# ——————————————————————————————————————————————————————————————————————————————————————————————————————
|
||||
#
|
||||
{+block{Category: Compatibility entries for ABP users, EasyList, and/or functionality whitelisting}}
|
||||
#
|
||||
# A(n incomplete) category for anti-anti-adblocking, in the event that https://forums.lanik.us/viewtopic.php?f=23&t=42273 were to specifically mention such entries as a reason to be denied EasyList affiliation or native ABP inclusion, in which case they'd be moved to the extension file
|
||||
.elderlyscissors.com
|
||||
#
|
||||
#
|
||||
#
|
||||
# 🇳🇴: Nordensrelaterte oppføringer som har blitt foreslått for store internasjonale lister, men som ikke har blitt lagt til dem som det er meg bekjent
|
||||
# 🇩🇰: Nordenrelaterede poster, der er blevet foreslået til store internationale lister, men som ikke er blevet tilføjet til dem endnu som det er meg bekendt
|
||||
{+block{Nordics-related entries that have been suggested to major international lists, but which haven't been added to them yet or for long}}
|
||||
# https://github.com/easylist/easylist/issues/1861
|
||||
#
|
||||
# 🇳🇴: Fikser videoavspillerene på nettstedene til norske fotballklubber når man bruker «uBlock Filters - Unbreak»
|
||||
{+block{Fixes video players on Norwegian football club sites when using "uBlock Filters - Unbreak"}}
|
||||
#
|
||||
# 🇳🇴: Hvitelisting av sporere som er nødvendige for brukere av Prisjakt, Kickback, og Viatrumf
|
||||
# 🇩🇰: Tracker-hvidlistninger, der er nødvendige for brugere af Prisjakt, Kickback og Viatrumf (Norske handletjenester)
|
||||
{+block{Tracker whitelistings that are necessary for users of Prisjakt, Kickback, and Viatrumf}}
|
||||
#
|
||||
# 🇳🇴: Landseksklusive versjoner for enkle reklameblokkerere, av flernasjonsoppføringer som er i utvidelsesfilen for avanserte reklameblokkerere; ettersom Adblock Plus og AdGuard for øyeblikket ikke støtter *-jokertegn i nettadressene til blokkeringsregler.
|
||||
# ABP diskuterte på et tidspunkt å støtte det i https://issues.adblockplus.org/ticket/6773, men det bunnet ut i ingenting.
|
||||
# 🇩🇰: Landseksklusive versioner til enkle adblockere, af flerlandsposter, der findes i udvidelsesfilen for avancerede adblockere; eftersom Adblock Plus og AdGuard i øjeblikket ikke understøtter * -jokertegn i blokeringsregel-URL-er.
|
||||
# ABP drøftede på et tidspunkt at støtte det i https://issues.adblockplus.org/ticket/6773, men det førede ikke til noget.
|
||||
{+block{Country-exclusive versions for simple adblockers, of multi-country entries that are found in the extensions file for advanced adblockers; because Adblock Plus and AdGuard currently doesn't support *-wildcards in blocking-rule URLs.}}
|
||||
# ABP was at one point discussing supporting it in https://issues.adblockplus.org/ticket/6773, but it stranded out into nothing.
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
# Entries that are also present in AdGuard English Filter, for those who use ABP and AdBlock, or who haven't felt a need to spend 8 seconds to subscribe to it in uBlock Origin.
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
# JavaScript features baked into Nano Adblocker and uBlock Origin
|
||||
#
|
||||
#
|
||||
# Style-changing entries
|
||||
# I could've theorethically made a Stylish userscript based on this section, but why would I ever want to do that when Nano, uBO, and AdGuard support such entries natively?
|
||||
#
|
||||
# Fixing very severe misadvertising on Elkjøp and Elgiganten Denmark, in which the EU energy labels for a lot of products were still showing the colours of the pre-2016 labels, leading to cases where e.g. an A label was dark green while an A+ label was yellow with a hint of green.
|
||||
# Amazingly, this does not seem to be a problem on elko.is or elding.fo, so kudos to them.
|
||||
#
|
||||
# Reducing the size of an extremely big Facebook link button
|
||||
#
|
||||
# Other advanced syntaxes
|
||||
#
|
||||
#
|
||||
# Wildcard versions of various entries. Because why only block on one national version of a site, when you can nowadays block on all versions of a site without cluttering things up?
|
||||
#
|
||||
#
|
||||
.acdn.adnxs.com/ast/ast.js
|
||||
.acdn.adnxs.com/ast/ast.js
|
||||
.fwmrm.net/p/MTG_Live/LinkTag2.js
|
||||
.fwmrm.net
|
||||
.openx.gamereactor.dk/multi.php?
|
||||
.ssl.p.jwpcdn.com*/jwpsrv.js
|
||||
.ssl.p.jwpcdn.com*/vast.js
|
||||
.damoh.vgtv.no/hic_qos
|
||||
.gamereactor.*/lay/ad-video-stats.js
|
||||
.gamereactor.*/lay/js/manageBanners.js
|
||||
.gamereactor.*/lay/js/adblock_desktop.js
|
||||
/entag.js
|
||||
.akamaihd.net/video-assets/
|
||||
#
|
||||
# ——————————————————————————————————————————————————————————————————————————————————————————
|
||||
#
|
||||
#
|
||||
# 🇳🇴: Svindelnettsteder og virusnettsteder (Ikke besøk dem hvis du har dine datamaskiner og lommebøker kjært)
|
||||
# Rask leksjon: Mange svindelnettsteder bruker adresser som ligner på adressene til store nettsteder, men som inneholder tilfeldige ekstra smådetaljer som gjør dem til en helt annen adresse. ".vg.no." vil blokkere vg.no.iphone-svindel-eksempel.xyz, men ikke vg.no eller vg.no/sport
|
||||
# 🇩🇰: Fupsider og virussider (Besøg dem ikke, hvis du sætter pris på dine computere og tegnebøger)
|
||||
{+block{Scam sites and virus sites (Do not visit them if you value your computers and wallets)}}
|
||||
# Quick 101: Many scam sites use addresses that resemble those of major sites, but which contain random extra tidbits that make them a whole different address. ".vg.no." will block vg.no.iphone-scam-example.xyz, but not vg.no or vg.no/sport
|
||||
.skoonlineshopnorge.com
|
||||
.kjolenorge.com
|
||||
.newbalancenorge.com
|
||||
.paypal.*.no
|
||||
.vg.no.
|
||||
.elkjop.no.
|
||||
.coop.no.
|
||||
.shell.no.
|
||||
.finn.no.
|
||||
.posten.no.
|
||||
.postnord.no.
|
||||
.*/finn.no/finno.htm
|
||||
.dnb.no.
|
||||
.sparebank1.no.
|
||||
.finnrefusjon.com
|
||||
.finn-spid.info
|
||||
.nordea.no.
|
||||
.sbanken.no.
|
||||
.danskebank.no.
|
||||
.*/?finn.no/login
|
||||
.refusjon-finn.com
|
||||
.komplett.no.
|
||||
.nordnet.no.
|
||||
.skatteetaten.no.
|
||||
.*/begrensede-tilbudet/
|
||||
.norwegian.com.
|
||||
.flysas-no.
|
||||
.tusenfryd-com.
|
||||
.*/bli-avbrutt-bor-du-oppdater/
|
||||
.*/Norgesecure/
|
||||
..gratis-reisebilletter.
|
||||
.*/KiwiErbjudanden1/
|
||||
.trackvoluum.com
|
||||
.testgruppens.com
|
||||
.jagerjack.com
|
||||
.*/pakkerlevering/
|
||||
.posten.club
|
||||
.kundklubb-se.com
|
||||
.norwayexpress24.com
|
||||
.prisjakt.org
|
||||
.postnord-norge.com
|
||||
.streetdance.no
|
||||
.102.112.2o7.net
|
||||
.vetscan.no
|
||||
.tromselementbygg.no
|
||||
.brannloftet.no
|
||||
.butikk.losnaspelet.no
|
||||
.no.zxxyw.com
|
||||
.oyelege.no
|
||||
.fanadyreklinikk.no
|
||||
.digitoday.com
|
||||
.komtilmil.no
|
||||
.apple-account-locked.losjevegen.no
|
||||
.arendalfotball.no
|
||||
.arvetellefsen.no/curry
|
||||
.aumamandel.no
|
||||
.andeneshornmusikk.no
|
||||
.handelihalden.no
|
||||
.holmedalblikk.no
|
||||
#
|
||||
# 🇳🇴: Som nevnt i https://www.dagbladet.no/kultur/jeg-blir-hver-dag-kontaktet-av-folk-som-faktisk-tror-pa-denne-svindelen/70487841
|
||||
{+block{As mentioned in https://www.dagbladet.no/kultur/jeg-blir-hver-dag-kontaktet-av-folk-som-faktisk-tror-pa-denne-svindelen/70487841}}
|
||||
.breakoutstory24.com
|
||||
.thefivereport.online
|
||||
.abafort.us
|
||||
#
|
||||
# Som nevnt i https://www.tv2.no/nyheter/10493336/
|
||||
.rnbinance.com
|
||||
.brightertrade.com
|
||||
#
|
||||
# Som nevnt i https://www.nrk.no/ytring/1.14496024
|
||||
.cost2buy.net
|
||||
#
|
||||
# Som nevnt i https://www.nrk.no/norge/1.14511067
|
||||
.kongeparken.com-*
|
||||
.com-fryd.com
|
||||
.kiwi.com-*
|
||||
.com-norwegian.com
|
||||
#
|
||||
# Som nevnt i https://www.aftenposten.no/osloby/i/mRK8xq/Fatt-tilbud-om-gratis-kollektivbillett-Svindel_-melder-Ruter
|
||||
.ruter.top
|
||||
#
|
||||
# Som nevnt i https://www.faktisk.no/faktasjekker/YAb/nei-olav-thon-har-ikke-investert-850-millioner-kroner-i-bitcoin-program
|
||||
.101mesh.com
|
||||
.gokkw.com
|
||||
.earnmoneyglobal.com
|
||||
#
|
||||
# 🇳🇴: Falske nett-"butikker" som er så dårlige, at de står oppført på Forbrukertilsynet egen svarteliste.
|
||||
# 🇩🇰: Falske web-"butikker" der er så dårlige, at de er opført på svartelisten til Forbrukertilsynet (Norges svar på Forbrugerombudsmanden).
|
||||
{+block{Fake and fraudulent web-"stores" that are so bad, that they're listed on the blacklist of the Norwegian state-sponsored Consumer Authority.}}
|
||||
# Source: https://www.forbrukertilsynet.no/netthandel/falske-nettbutikker.
|
||||
.adamaruiz.org
|
||||
.adidasko.com
|
||||
.adidassuperstarnorge.com
|
||||
.adidasoutletnorway.eu
|
||||
.airmaxskobillige.com
|
||||
.allergyfl.com
|
||||
.apcleverstore.com
|
||||
.apvoc-ga.com
|
||||
.arendalfotball.no
|
||||
.arvetellefsen.no
|
||||
.ashskonorge.com
|
||||
.assassinfitness.com
|
||||
.bannere.oslonett.no
|
||||
.beblessedbehappy.org
|
||||
.benshermanoslo.com
|
||||
.billigesalg.com
|
||||
.billigskos.com
|
||||
.bilstokken.com
|
||||
.birkenstocknorgesalg.com
|
||||
.bloggannonser.no
|
||||
.bncentertainment.com
|
||||
.bolinux3.hit.no
|
||||
.bostongrnhsflowers.com
|
||||
.brannloftet.no
|
||||
.breakoutstory24.com
|
||||
.butikk.losnaspelet.no
|
||||
.cafths.com
|
||||
.caperforaciones.com
|
||||
.careerintegra.com
|
||||
.chaletdeville.com
|
||||
.charpente-ramel.com
|
||||
.cluster.chart.dk
|
||||
.cmt.no
|
||||
.coloradobraincampaign.org
|
||||
.coralls.com
|
||||
.crossfiterada.com
|
||||
.crownedwithlaurels.com
|
||||
.daradis.com
|
||||
.denningwelldrilling.com
|
||||
.digitoday.com
|
||||
.dk-ekstrabladet.vp.videoplaza.tv
|
||||
.dk.panel.gemius.dk
|
||||
.dotbanner.dk
|
||||
.drakternorge.com
|
||||
.drcarolyngroff.com
|
||||
.dunjakke-no.com
|
||||
.easy-ad.no
|
||||
.easyliving4you.com
|
||||
.elderlyscissors.com
|
||||
.emediate.eu
|
||||
.emerio.no
|
||||
.euroads.dk
|
||||
.euroads.no
|
||||
.eurosko.net
|
||||
.fanadyreklinikk.no
|
||||
.fatalfailblog.com
|
||||
.festmusikk.com
|
||||
.finn-spid.info
|
||||
.finnrefusjon.com
|
||||
.fitflopforhandler.com
|
||||
.flashbanner.no
|
||||
.forum1.no
|
||||
.fotballsko-salg.com
|
||||
.fotballskotilbud.com
|
||||
.gantoslo.com
|
||||
.godeskonettbutikk.com
|
||||
.godsfillingstation.org
|
||||
.gsport.com
|
||||
.handelihalden.no
|
||||
.helseprodukt.co
|
||||
.hernoclothing.com
|
||||
.hollisternorge.com
|
||||
.holmedalblikk.no
|
||||
.horizonbagel.com
|
||||
.i1media.no
|
||||
.imp.euroads.no
|
||||
.imprimtacom.com
|
||||
.isweb.no
|
||||
.itsthetrendydealstore.com
|
||||
.jagerjack.com
|
||||
.imprimtacom.com
|
||||
.jakker.co
|
||||
.jakkesalgs.com
|
||||
.jakkesnorge.com
|
||||
.jessicaivory.com
|
||||
.joseph-holland.com
|
||||
.kjolenorge.com
|
||||
.klmsteelers.org
|
||||
.klmyu.com
|
||||
.komtilmil.no
|
||||
.kundklubb-se.com
|
||||
.jessicaivory.com
|
||||
.legarralazcoz.com
|
||||
.lillebitenas.com
|
||||
.lillevinkelsko.net
|
||||
@@ -127,100 +432,56 @@
|
||||
.mrarmstrongsclass.com
|
||||
.mudancaslvc.com
|
||||
.museuw.com
|
||||
.myad.no
|
||||
.mycraftypad.com
|
||||
.nasajones.com
|
||||
.nettklikk.no
|
||||
.newbalancenorge.com
|
||||
.nikebutikks.com
|
||||
.no.moncleritalien.com
|
||||
.no.zxxyw.com
|
||||
.noculottes.com
|
||||
.nordartisan.com
|
||||
.norfotball.com
|
||||
.norge.parkaoutdoor.com
|
||||
.norgefotball.com
|
||||
.norge.parkaoutdoor.com
|
||||
.norgejakke.com
|
||||
.norgejakkerbutikk.com
|
||||
.norgeshoes.com
|
||||
.norwayexpress24.com
|
||||
.nyeskonorge2015.com
|
||||
.nywlm.com
|
||||
.oflike.com
|
||||
.omgrm.com
|
||||
.ontariokitcarbuilders.com
|
||||
.openadex.dk
|
||||
.orchidtechclub.com
|
||||
.oslomarcjacobsvesker.com
|
||||
.oyelege.no
|
||||
.parajumperjakke.net
|
||||
.parajumpers-longbear.com
|
||||
.parajumpers-norge.site
|
||||
.parajumpers-salg.com
|
||||
.parajumpersit.com
|
||||
.parajumpersitoutlet.com
|
||||
.parajumpersit.com
|
||||
.parajumperjakke.net
|
||||
.parajumpersnettbutikk.com
|
||||
.parajumpers-norge.site
|
||||
.parajumpersnorway.com
|
||||
.parajumpersoutletnorge.com
|
||||
.parajumperssalg.com
|
||||
.pilmedia.ads.visionweb.no
|
||||
.piwik.onlinemagasinet.no
|
||||
.pjs.outlet.com
|
||||
.parajumpersoutletnorge.com
|
||||
.pmnft.com
|
||||
.pjs.outlet.com
|
||||
.popeurope.com
|
||||
.posten.club
|
||||
.primetime.ad.primetime.net
|
||||
.pursuenewly.com
|
||||
.quiltstudiolaren.com
|
||||
.reeconindustries.com
|
||||
.refusjon-finn.com
|
||||
.retoaudi.com
|
||||
.rig.idg.no
|
||||
.rsket.com
|
||||
.salomonnettbutikk.com
|
||||
.sannsyn.com
|
||||
.scottfamilyministries.org
|
||||
.server-no.imrworldwide.com
|
||||
.server-us.imrworldwide.com
|
||||
.skoeccosandaler.com
|
||||
.skonmdnorge.com
|
||||
.skoonlineshopnorge.com
|
||||
.solraba.com
|
||||
.ssrodeolivestock.com
|
||||
.static.itrack.it
|
||||
.streetdance.no
|
||||
.swellsup.com
|
||||
.sykkeltrøye.com
|
||||
.testgruppens.com
|
||||
.ssrodeolivestock.com
|
||||
.swellsup.com
|
||||
.theartcardstudio.com
|
||||
.thefivereport.online
|
||||
.tiranaaquapark-eg.com
|
||||
.tns-gallup.dk
|
||||
.tobiascelebritymusicevents.com
|
||||
.trackvoluum.com
|
||||
.tromselementbygg.no
|
||||
.um-bs.com
|
||||
.userneeds.dk
|
||||
.vansnorge.com
|
||||
.vetscan.no
|
||||
.wausauorthopedics.com
|
||||
.webclick.no
|
||||
.webhotell.enivest.no
|
||||
.widget.tippebannere.no
|
||||
.wo.tc
|
||||
.zaskal.com
|
||||
.101mesh.com
|
||||
.abafort.us
|
||||
.breakoutstory24.com
|
||||
.brightertrade.com
|
||||
.com-fryd.com
|
||||
.com-norwegian.com
|
||||
.cost2buy.net
|
||||
.earnmoneyglobal.com
|
||||
.gokkw.com
|
||||
.rnbinance.com
|
||||
.ruter.top
|
||||
.thefivereport.online
|
||||
.postnord-norge.com
|
||||
.prisjakt.org
|
||||
|
||||
#
|
||||
|
||||
@@ -5,13 +5,14 @@ SOURCES = ['https://gitlab.com/DandelionSprout/adfilt/raw/master/NorwegianList.t
|
||||
|
||||
UNSUPPORTED_ABP = ['$document', '$important', ',important' '$redirect=', ',redirect=',
|
||||
':style', '##+js', '.*#' , ':xpath', ':matches-css', 'dk,no##']
|
||||
|
||||
UNSUPPORTED_TPL = ['##', '#@#', '#?#', r'\.no\.$']
|
||||
UNSUPPORTED_PRIVOXY = ['##', '#@#', '#?#', '@@', '!#']
|
||||
|
||||
OUTPUT = 'xyzzyx.txt'
|
||||
OUTPUT_AG = 'NordicFiltersAdGuard.txt'
|
||||
OUTPUT_ABP = 'NordicFiltersABP.txt'
|
||||
OUTPUT_TPL = 'DandelionSproutsNorskeFiltre.tpl'
|
||||
OUTPUT_PRIVOXY = 'NordicFiltersPrivoxy.action'
|
||||
|
||||
# function that downloads the filter list
|
||||
def download_filters() -> str:
|
||||
@@ -159,14 +160,12 @@ def prepare_tpl(lines) -> str:
|
||||
# remove or modifiy entries with unsupported modifiers
|
||||
for line in lines:
|
||||
|
||||
# remove $document modifier from the rule
|
||||
line = re.sub(
|
||||
"! ",
|
||||
"# ",
|
||||
line
|
||||
)
|
||||
|
||||
# remove $important modifier from the rule
|
||||
line = re.sub(
|
||||
"\[Adblock Plus 3.2\]",
|
||||
"msFilterList",
|
||||
@@ -192,7 +191,7 @@ def prepare_tpl(lines) -> str:
|
||||
)
|
||||
|
||||
# TO-DO: Figure out how to make this NOT apply to lines that have the character "!" in them.
|
||||
line = re.sub(
|
||||
if text in line: "! " = re.sub(
|
||||
"/",
|
||||
" ",
|
||||
line
|
||||
@@ -329,6 +328,94 @@ def prepare_tpl(lines) -> str:
|
||||
|
||||
return text
|
||||
|
||||
# ————— Privoxy version —————
|
||||
|
||||
# Attempts to achieve Internet Explorer TPL support
|
||||
def is_supported_privoxy(line) -> bool:
|
||||
for token in UNSUPPORTED_PRIVOXY:
|
||||
if token in line:
|
||||
return False
|
||||
|
||||
return True
|
||||
|
||||
def prepare_privoxy(lines) -> str:
|
||||
text = ''
|
||||
|
||||
# remove or modifiy entries with unsupported modifiers
|
||||
for line in lines:
|
||||
|
||||
line = re.sub(
|
||||
"! ",
|
||||
"# ",
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"\$.*",
|
||||
"",
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
"\|\|",
|
||||
".",
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
"\^",
|
||||
"",
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
"\[Adblock Plus 3.2\]",
|
||||
"{+block}",
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"^$",
|
||||
"#",
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"^\!.*",
|
||||
"#",
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
"# 🇬🇧: ",
|
||||
"{+block{",
|
||||
line
|
||||
)
|
||||
|
||||
# Note the use of parenthesises and "\1" combined.
|
||||
line = re.sub(
|
||||
r"(\{\+block{.*)",
|
||||
r"\1}}",
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
"! ",
|
||||
"# ",
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
"! ",
|
||||
"# ",
|
||||
line
|
||||
)
|
||||
|
||||
if is_supported_privoxy(line):
|
||||
text += line + '\r\n'
|
||||
|
||||
return text
|
||||
|
||||
if __name__ == "__main__":
|
||||
print('Starting the script')
|
||||
text = download_filters()
|
||||
@@ -338,6 +425,7 @@ if __name__ == "__main__":
|
||||
ag_filter = prepare_ag(lines)
|
||||
abp_filter = prepare_abp(lines)
|
||||
tpl_filter = prepare_tpl(lines)
|
||||
privoxy_filter = prepare_privoxy(lines)
|
||||
|
||||
with open(OUTPUT, "w") as text_file:
|
||||
text_file.write(text)
|
||||
@@ -351,4 +439,7 @@ if __name__ == "__main__":
|
||||
with open(OUTPUT_TPL, "w") as text_file:
|
||||
text_file.write(tpl_filter)
|
||||
|
||||
with open(OUTPUT_PRIVOXY, "w") as text_file:
|
||||
text_file.write(privoxy_filter)
|
||||
|
||||
print('The script has finished its work')
|
||||
|
||||
Reference in New Issue
Block a user