From bb1f815de5cbb83c02e9689e17c354a9838120f6 Mon Sep 17 00:00:00 2001 From: Alex <1188@i.ua> Date: Thu, 14 Jul 2016 13:00:42 +0300 Subject: [PATCH] https://forum.adguard.com/index.php?threads/resolved-techzine-nl.11581/#post-90556 --- AnnoyancesFilter/sections/cookies_specific.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AnnoyancesFilter/sections/cookies_specific.txt b/AnnoyancesFilter/sections/cookies_specific.txt index 52d5d056913..dec77615db4 100644 --- a/AnnoyancesFilter/sections/cookies_specific.txt +++ b/AnnoyancesFilter/sections/cookies_specific.txt @@ -84,4 +84,4 @@ security.nl#$##header_container.cookie_consent { height: 112px!important; } internethaber.com#%#AG_onLoad(function() { if (window.location.href.indexOf("prestitial") != -1) { document.cookie = "is_prestitial=1"; window.location.href = encodeURIComponent(document.referrer) } }); fok.nl#%#AG_onLoad(function() { var form = document.forms['cookies']; if (form) { form.submit(); } }); m.9292.nl#%#AG_onLoad(function() { document.cookie = "9292-cookie-consent-2=consent%20given; path=/;"; }); -techzine.nl#%#AG_onLoad(function() { if (window.location.href.indexOf("cookiewet?url=") != -1) { document.cookie = "cookiewet=1"; window.location.href = "http://www.techzine.nl/"; } }); +techzine.nl#%#AG_onLoad(function() { if(window.location.href.indexOf("cookiewet") != -1){document.cookie = "cookiewet=1"; pathArray = location.href.split( '/' ); url = pathArray[0] + "//" + pathArray[5] + "/" + pathArray[6]; if(pathArray[7]){url = url + "/" + pathArray[7] + "/" + pathArray[8];}; window.location.href = url}; }); \ No newline at end of file