diff --git a/NorwegianExperimentalList alternate versions/NordicFiltersAdGuard.txt b/NorwegianExperimentalList alternate versions/NordicFiltersAdGuard.txt index b3b3e7223..b5d2cdaae 100644 --- a/NorwegianExperimentalList alternate versions/NordicFiltersAdGuard.txt +++ b/NorwegianExperimentalList alternate versions/NordicFiltersAdGuard.txt @@ -891,7 +891,7 @@ arendalstidende.no#?#div[style^=font-size]:has-text(/^Annonse:/) audlindin.is##.main-post austurfrett.is##.lowerad austurfrett.is##.upperad -autouncle.dk##body > div[style^="text-align: center;"] +autouncle.dk##html[lang] > body > div[style^="text-align: center;"] avisen.dk##.Ad avvir.no##.avvir-block-top.avvir-block-container ba.no###cm2-1 @@ -1341,7 +1341,7 @@ sykepleien.no##.advertisement-responsive sysla.no##.ad-nexus-ad tek.no###application > div[class]:nth-of-type(1):nth-last-of-type(2) tek.no###topboard:upward(1) -tek.no##body:before +tek.no##html[lang] > body:before tek.no##div[class^=styles__] tek.no##section[class*=canvas] tek.no##section[class^=GreatCanvas__smallArticles-]:style(width: 100% !important) @@ -1434,7 +1434,7 @@ vl.no##.vlDesktopAd vredens-gnag.no##.ab-appnexus-ads-wrapper tvkampen.com,tvsporten.dk##.panorama-wrapper win-xp.no#?#tr > td > div:has(a[href*="clk.tradedoubler."]) -www.tv2.no##body:not(.broom, .lab):style(padding-top: 70px !important) +www.tv2.no##html[lang] > body:not(.broom, .lab):style(padding-top: 70px !important) yrkesbil.no###side > div:nth-of-type(1) yrkesbil.no##.forside_adholder:upward(1) yrkesbil.no##td:empty diff --git a/NorwegianExperimentalList alternate versions/XYZPrepareFilters.py b/NorwegianExperimentalList alternate versions/XYZPrepareFilters.py index f11e1bdc1..53c24ca4a 100644 --- a/NorwegianExperimentalList alternate versions/XYZPrepareFilters.py +++ b/NorwegianExperimentalList alternate versions/XYZPrepareFilters.py @@ -165,6 +165,12 @@ def prepare_ag(lines) -> str: line ) + line = re.sub( + r"(#\??#)body(:| )", + r"\1html[lang] > body\2", + line + ) + text += line + '\r\n' return text @@ -4044,6 +4050,12 @@ def prepare_ag(lines) -> str: line ) + line = re.sub( + r"(#\??#)body(:| )", + r"\1html[lang] > body\2", + line + ) + text += line + '\r\n' return text