Provide version information to universal-bypass.org
This commit is contained in:
parent
71bd742502
commit
a338845230
@ -210,7 +210,10 @@ const downloadInjectionScript = () => new Promise(callback => {
|
||||
xhr.send()
|
||||
}),
|
||||
refreshInjectionScript = () => {
|
||||
injectionScript = (upstreamInjectionScript + "\n" + userScript).split("UNIVERSAL_BYPASS_INTERNAL_VERSION").join("1")
|
||||
injectionScript = (upstreamInjectionScript + "\n" + userScript)
|
||||
.split("UNIVERSAL_BYPASS_INTERNAL_VERSION").join("2")
|
||||
.split("UNIVERSAL_BYPASS_EXTERNAL_VERSION").join(brws.runtime.getManifest().version)
|
||||
.split("UNIVERSAL_BYPASS_INJECTION_VERSION").join(upstreamCommit?upstreamCommit.substr(0,7):"dev")
|
||||
}
|
||||
downloadInjectionScript()
|
||||
brws.alarms.create("update-injection-script", {periodInMinutes: 60})
|
||||
|
@ -545,6 +545,15 @@ domainBypass("apkpsp.com",()=>{
|
||||
//Insertion point 1 — insert bypasses running before the DOM is loaded above this comment
|
||||
hrefBypass(/(njiir|healthykk|linkasm|dxdrive|getwallpapers)\.com|punchsubs\.net|k2s\.cc|muhammadyoga\.me|u\.to|skiplink\.io|firefaucet\.win\/l\/|emulator\.games\/download\.php/,()=>window.setInterval=f=>setInterval(f,1))
|
||||
hrefBypass(/(racaty|longfiles|filepuma|filehorse|portableapps)\.com|indishare\.org|datei\.to|keisekai\.fun|nexusmods\.com\/.*\/mods\/[0-9]*\?tab=files&file_id=[0-9]*/,()=>window.setTimeout=f=>setTimeout(f,1))
|
||||
domainBypass("universal-bypass.org",()=>{
|
||||
window.universalBypassInstalled=true
|
||||
window.universalBypassInternalVersion=UNIVERSAL_BYPASS_INTERNAL_VERSION
|
||||
if(UNIVERSAL_BYPASS_INTERNAL_VERSION>=2)
|
||||
{
|
||||
window.universalBypassExternalVersion="UNIVERSAL_BYPASS_EXTERNAL_VERSION"
|
||||
window.universalBypassInjectionVersion="UNIVERSAL_BYPASS_INJECTION_VERSION"
|
||||
}
|
||||
})
|
||||
if(bypassed)
|
||||
{
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user