From 206fdfd6583ecf229156b7bfa27500cc7ce8c23e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20Wr=C3=B3blewski?= Date: Fri, 10 May 2024 19:57:17 +0200 Subject: [PATCH] Fix #178972 linkvertise.com --- AnnoyancesFilter/Other/sections/tweaks.txt | 3 --- 1 file changed, 3 deletions(-) diff --git a/AnnoyancesFilter/Other/sections/tweaks.txt b/AnnoyancesFilter/Other/sections/tweaks.txt index 2f5110ff8af..3e26053d100 100644 --- a/AnnoyancesFilter/Other/sections/tweaks.txt +++ b/AnnoyancesFilter/Other/sections/tweaks.txt @@ -2047,11 +2047,8 @@ linkvertise.com,link-to.net#%#!function(){if(-1{const a=Reflect.apply(t,e,n);return a?.data?.getDetailPageContent?.linkCustomAdOffers&&(a.data.getDetailPageContent.linkCustomAdOffers=[]),a}};window.JSON.parse=new Proxy(window.JSON.parse,t)}(); -! Firefox cannot download new JS rules, so it's required to fix it using $replace rules + scriptlet ||linkvertise.com/main.*.js$replace=/\(.\.linkCustomAdOffers\)/([])/ ||linkvertise.com/main.*.js$replace=/this\.adService\.getAdData\(.+?\)/this.adService.getAdData([])/ -!+ PLATFORM(ext_ff) -linkvertise.com#%#//scriptlet('json-prune', 'data.getDetailPageContent.linkCustomAdOffers') ! https://github.com/AdguardTeam/AdguardFilters/issues/32710 pandora.com.tr#%#AG_onLoad(function() { setTimeout(function() { var link1=document.getElementById("urunDetayKapak"); var link2=document.getElementById("urun-detay"); if(link1 || link2){link1.ondragstart=function(){return!0},link1.oncontextmenu=function(){return!0},link1.onselectstart=function(){return!0},link2.ondragstart=function(){return!0},link2.oncontextmenu=function(){return!0},link2.onselectstart=function(){return!0},$("#urunDetayKapak").css("MozUserSelect","all").unbind("selectstart").unbind("mousedown").unbind("contextmenu"),$(".urunAciklama").css("MozUserSelect","all").unbind("selectstart").unbind("mousedown").unbind("contextmenu"); } }, 300); }); ! https://github.com/AdguardTeam/AdguardFilters/issues/31050