gismeteo.ru - fix

This commit is contained in:
zloyden
2023-08-02 12:19:36 +03:00
parent 5667938c18
commit 6cc792a09d
2 changed files with 3 additions and 2 deletions

View File

@@ -6,6 +6,7 @@
! Bad: example.org##main > div.ad (should be in specific.txt)
!
!
gismeteo.ru#?#.tab-containers > div.tab-container:has(> div.rss-social)
brightside.me#?#div[data-test-id="article-content"] div[class]:has(> aside div:contains(Advertisement))
amp-theguardian-com.cdn.ampproject.org#?#amp-list:has(> div.i-amphtml-replaced-content:empty:last-child)
amp-theguardian-com.cdn.ampproject.org#?#amp-list:has(> div.i-amphtml-replaced-content:last-child > div[role="listitem"]:only-child:empty)

View File

@@ -9,8 +9,6 @@
!-------JS----------
!-------------------
!
! https://github.com/AdguardTeam/AdguardFilters/issues/157914
gismeteo.ru#%#AG_onLoad(function(){const labels=document.querySelectorAll('label[data-title="Объясняем.рф"]');let dataIds=[];for(let e=0;e<labels.length;e++)dataIds.push(labels[e].htmlFor);let divs=dataIds.map((e=>document.querySelector(`div[data-id="${e}"]`)));if(labels||divs){for(let e=0;e<labels.length;e++)labels[e].remove();divs.map((e=>e.remove()))}const activeItems=document.querySelectorAll(".tab-labels > label:first-child");activeItems&&setTimeout((()=>{for(let e=0;e<activeItems.length;e++)activeItems[e].click()}),1e3);})
! https://github.com/AdguardTeam/AdguardFilters/issues/157812
!+ PLATFORM(ios, ext_android_cb)
tvnow.de#%#//scriptlet("set-constant", "cbcAdvertisingAdapter.smartClientCoreFacade.homad.playerConfig.features.homad.enabled", "false")
@@ -159,6 +157,8 @@ sasisa.ru#%#AG_onLoad(function() { window.Umobi = function() {}; });
!-------CSS---------
!-------------------
!
! https://github.com/AdguardTeam/AdguardFilters/issues/157914
gismeteo.ru#$#label[data-title="Объясняем.рф"] { display: none !important; }
! https://github.com/AdguardTeam/AdguardFilters/issues/157986
indy100.com#$#.body-description > p { margin-bottom: 0 !important; }
! https://github.com/AdguardTeam/AdguardFilters/issues/157686