This commit is contained in:
Tim Speckhals 2018-09-25 03:07:47 +02:00
parent 8e6a2cd4d8
commit e366b98bea
No known key found for this signature in database
GPG Key ID: A62ADB92F7ADEEB6
3 changed files with 22 additions and 22 deletions

View File

@ -82,7 +82,8 @@ chrome.webRequest.onBeforeRequest.addListener(details=>{
return{redirectUrl:chrome.extension.getURL("/html/blocked.html")} return{redirectUrl:chrome.extension.getURL("/html/blocked.html")}
},{urls:getIPLoggerPatterns()},["blocking"]) },{urls:getIPLoggerPatterns()},["blocking"])
chrome.webRequest.onBeforeRequest.addListener(details=>{ chrome.webRequest.onBeforeRequest.addListener(details=>{
return{redirectUrl:decodeURIComponent(details.url.split("?link=")[1])} if(details.method=="GET"&&details.type=="main_frame")
return{redirectUrl:decodeURIComponent(details.url.split("?link=")[1])}
},{urls:["*://*.spaste.com/r/*?link=*"]},["blocking"]) },{urls:["*://*.spaste.com/r/*?link=*"]},["blocking"])
function getIPLoggerPatterns() function getIPLoggerPatterns()
{ {

View File

@ -117,37 +117,36 @@ if(document instanceof HTMLDocument)
ODP(this,"ysmm",//Adf.ly ODP(this,"ysmm",//Adf.ly
{ {
set:r=>{ set:r=>{
let I=X="" let a,m,I="",X=""
for(let m=0;m<r.length;m++) for(m=0;m<r.length;m++)
if(m%2==0)I+=r.charAt(m);else X=r.charAt(m)+X if(m%2==0)I+=r.charAt(m);else X=r.charAt(m)+X
r=I+X r=I+X
let U=r.split("") a=r.split("")
for(m=0;m<U.length;m++) for(m=0;m<a.length;m++)
{ {
if(!isNaN(U[m])) if(!isNaN(a[m]))
{ {
for(let R=m+1;R<U.length;R++) for(var R=m+1;R<a.length;R++)
{ {
if(!isNaN(U[R])) if(!isNaN(a[R]))
{ {
let S=U[m]^U[R]; let S=a[m]^a[R]
if(S<10) if(S<10)a[m]=S
U[m]=S
m=R m=R
R=U.length R=a.length
}
r=U.join("")
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)&&encodeURI(r)==r)
{
showNotification(msgs.timerSkip)
safelyNavigate(r)
} }
} }
} }
} }
r=a.join('')
r=window.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))
{
showNotification(msgs.timerSkip)
safelyNavigate(r)
}
} }
}) })
//LinkBucks //LinkBucks

View File

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