5.4.1
This commit is contained in:
parent
49cfd2d927
commit
6d067eaf09
@ -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/*",
|
||||
|
@ -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
|
||||
}
|
||||
})
|
||||
|
@ -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": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user