This commit is contained in:
Tim Speckhals 2018-07-10 10:03:35 +02:00
parent 49cfd2d927
commit 6d067eaf09
No known key found for this signature in database
GPG Key ID: A62ADB92F7ADEEB6
3 changed files with 10 additions and 8 deletions

View File

@ -46,14 +46,15 @@ chrome.webRequest.onBeforeRequest.addListener(details=>{
}
xhr.open("GET","https://api.hell.sh/redirect/"+encodeURIComponent(details.url),false)
xhr.send()
if(destination)
if(destination&&destination!=details.url)
{
if(destination!=details.url)
return{redirectUrl:destination}
console.log(details.url+" -> "+destination)
return{redirectUrl:destination}
}
},{urls:getTrackerPatterns()},["blocking"])
var getTrackerPatterns=()=>{
function getTrackerPatterns()
{
let trackerPatterns=[
"*://*.bit.ly/*",
"*://*.goo.gl/*",

View File

@ -126,7 +126,7 @@ if(document instanceof HTMLDocument)
r=atob(r)
r=r.substring(r.length-(r.length-16))
r=r.substring(0,r.length-16)
if(r&&(r.indexOf("http://")==0||r.indexOf("https://")==0))
if(r&&(r.indexOf("http://")==0||r.indexOf("https://")==0)&&encodeURI(r)==r)
{
showNotification(msgs.timerSkip)
safelyNavigate(r)
@ -257,10 +257,11 @@ if(document instanceof HTMLDocument)
location.pathname=location.pathname.split("/t/").join("/saliendo/")
})
domainBypass("share-online.biz",()=>{
let actualWait
ODP(this,"wait",{
set:_=>{},
set:s=>actualWait=s,
get:()=>{
showNotification(msgs.timerLeap.replace("%secs%","13"))
showNotification(msgs.timerLeap.replace("%secs%",actualWait-2))
return 2
}
})

View File

@ -9,7 +9,7 @@
"name": "Universal Bypass",
"description": "__MSG_appDesc__",
"homepage_url": "https://universal-bypass.org/",
"version": "5.4",
"version": "5.4.1",
"author": "timmyRS",
"minimum_chrome_version": "41",
"options_ui": {