From b3b23c8196c4824a74af873446b1d976c97e9c9c Mon Sep 17 00:00:00 2001 From: "Tim \"timmyRS\" Speckhals" Date: Wed, 25 Sep 2019 08:08:37 +0200 Subject: [PATCH] Add teknosafe template bypass (fixes #470) --- content_script.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/content_script.js b/content_script.js index f2c319a..78be483 100644 --- a/content_script.js +++ b/content_script.js @@ -760,9 +760,6 @@ if(document instanceof HTMLDocument) domainBypass("daunshorte.teknologilink.com",()=>{ location.href=document.querySelector("a[href^='https://teknosafe.teknologilink.com/linkteknolink/safelinkscript.php?']").href }) - domainBypass("teknosafe.teknologilink.com",()=>{ - safelyNavigate(document.querySelector("#templatemo_content > div > a[href]").href) - }) domainBypass("imgtaxi.com",()=>{ document.querySelector("a.overlay_ad_link").click() }) @@ -1153,6 +1150,11 @@ if(document instanceof HTMLDocument) $=()=>({attr:(n,v)=>safelyNavigate(atob(v))}) goto() } + if(document.querySelector("#templatemo_footer > a[href='http://teknosafe.kertashitam.com/']")&&document.querySelector("#templatemo_content > div > a[href]"))//teknosafe.kertashitam.com,teknosafe.teknologilink.com + { + safelyNavigate(document.querySelector("#templatemo_content > div > a[href]").href) + return + } let t=document.querySelector("title") if(t) {