Upload
This commit is contained in:
parent
d54fd2c0a2
commit
5d920196fc
BIN
Universal Bypass.zip
Normal file
BIN
Universal Bypass.zip
Normal file
Binary file not shown.
17
_locales/de/messages.json
Normal file
17
_locales/de/messages.json
Normal file
@ -0,0 +1,17 @@
|
||||
{
|
||||
"appName": {
|
||||
"message": "Universal Bypass (Universelle Umgehung)"
|
||||
},
|
||||
"appDesc": {
|
||||
"message": "Verschwende deine Zeit nicht mit Unterwerfung. Universal Bypass überspringt automatisch nervige Linkkürzer."
|
||||
},
|
||||
"injectionAttr": {
|
||||
"message": "injektor"
|
||||
},
|
||||
"injectionInline": {
|
||||
"message": "Injiziert durch Universal Bypass (Universelle Umgehung)"
|
||||
},
|
||||
"injectionGeneral": {
|
||||
"message": "Das Skript (script) vor diesem Kommentar wurde druch Universal Bypass (Universelle Umgehung) injiziert, um alles zu fangen."
|
||||
}
|
||||
}
|
17
_locales/en/messages.json
Normal file
17
_locales/en/messages.json
Normal file
@ -0,0 +1,17 @@
|
||||
{
|
||||
"appName": {
|
||||
"message": "Universal Bypass"
|
||||
},
|
||||
"appDesc": {
|
||||
"message": "Don't waste your time with compliance. Universal Bypass automatically skips annoying link shorteners."
|
||||
},
|
||||
"injectionAttr": {
|
||||
"message": "injector"
|
||||
},
|
||||
"injectionInline": {
|
||||
"message": "Injected by Universal Bypass"
|
||||
},
|
||||
"injectionGeneral": {
|
||||
"message": "The script before this comment has been injected by Universal Bypass in order to catch everything."
|
||||
}
|
||||
}
|
9
background.js
Normal file
9
background.js
Normal file
@ -0,0 +1,9 @@
|
||||
chrome.runtime.setUninstallURL("https://goo.gl/forms/H8FswYQ2a37LSxc13");
|
||||
|
||||
chrome.runtime.onInstalled.addListener(function(details)
|
||||
{
|
||||
if(details.reason == "install")
|
||||
{
|
||||
window.open(chrome.extension.getURL("/firstrun/index.html"));
|
||||
}
|
||||
});
|
8
bypasses/adfocus.js
Normal file
8
bypasses/adfocus.js
Normal file
@ -0,0 +1,8 @@
|
||||
document.addEventListener("DOMContentLoaded", function()
|
||||
{
|
||||
let btn = document.getElementsByClassName("skip");
|
||||
if(btn.length > 0)
|
||||
{
|
||||
location.href = btn[0].href;
|
||||
}
|
||||
});
|
8
bypasses/admylink.js
Normal file
8
bypasses/admylink.js
Normal file
@ -0,0 +1,8 @@
|
||||
document.addEventListener("DOMContentLoaded", function()
|
||||
{
|
||||
let form = document.getElementsByClassName("edit_link");
|
||||
if(form.length > 0)
|
||||
{
|
||||
location.href = form[0].submit();
|
||||
}
|
||||
});
|
8
bypasses/cpmlink.js
Normal file
8
bypasses/cpmlink.js
Normal file
@ -0,0 +1,8 @@
|
||||
document.addEventListener("DOMContentLoaded", function()
|
||||
{
|
||||
let btn = document.getElementById("btn-main");
|
||||
if(btn != null)
|
||||
{
|
||||
location.href = btn.href;
|
||||
}
|
||||
});
|
8
bypasses/croco.js
Normal file
8
bypasses/croco.js
Normal file
@ -0,0 +1,8 @@
|
||||
document.addEventListener("DOMContentLoaded", function()
|
||||
{
|
||||
let btn = document.getElementById("btn-main");
|
||||
if(btn != null)
|
||||
{
|
||||
btn.click();
|
||||
}
|
||||
});
|
19
bypasses/cshort.js
Normal file
19
bypasses/cshort.js
Normal file
@ -0,0 +1,19 @@
|
||||
Object.defineProperty(window, "adblock", {
|
||||
value: false,
|
||||
writable: false
|
||||
});
|
||||
Object.defineProperty(window, "i", {
|
||||
value: 0,
|
||||
writable: false
|
||||
});
|
||||
document.addEventListener("DOMContentLoaded", function()
|
||||
{
|
||||
let link_timer = window.setInterval(function()
|
||||
{
|
||||
if(document.querySelectorAll(".next[href]").length > 0)
|
||||
{
|
||||
window.clearInterval(link_timer);
|
||||
location.href = atob(atob(document.querySelectorAll(".next[href]")[0].getAttribute("href")));
|
||||
}
|
||||
}, 100);
|
||||
});
|
31
bypasses/fame4me.js
Normal file
31
bypasses/fame4me.js
Normal file
@ -0,0 +1,31 @@
|
||||
let bypass = function()
|
||||
{
|
||||
var btns = document.querySelectorAll(".btn.btn-primary.btn-block.btn-md, .btn.btn-info.btn-block.btn-md");
|
||||
if(btns.length > 0)
|
||||
{
|
||||
var resultBtns = document.querySelectorAll(".btn.btn-success.btn-block.btn-md");
|
||||
if(resultBtns.length > 0)
|
||||
{
|
||||
location.href = resultBtns[0].getAttribute("href");
|
||||
}
|
||||
else
|
||||
{
|
||||
for(var i = 0; i < btns.length; i++)
|
||||
{
|
||||
let btn = btns[i];
|
||||
let onclick = btn.getAttribute("onclick");
|
||||
onclick = onclick.replace("location.reload()", "console.trace()");
|
||||
eval(onclick);
|
||||
}
|
||||
location.reload();
|
||||
}
|
||||
}
|
||||
};
|
||||
if(document.readyState === "complete")
|
||||
{
|
||||
bypass();
|
||||
}
|
||||
else
|
||||
{
|
||||
document.addEventListener("DOMContentLoaded", bypass);
|
||||
}
|
125
bypasses/general.js
Normal file
125
bypasses/general.js
Normal file
@ -0,0 +1,125 @@
|
||||
/* Universal Bypass > General.js > This file contains general bypasses and bypasses for websites without a single dedicated domain, like adf.ly. */
|
||||
|
||||
// Adf.ly
|
||||
Object.defineProperty(window, "ysmm",
|
||||
{
|
||||
set: function(result)
|
||||
{
|
||||
let I = '',
|
||||
X = '';
|
||||
for(let m = 0; m < result.length; m++)
|
||||
{
|
||||
if(m % 2 == 0)
|
||||
{
|
||||
I += result.charAt(m);
|
||||
}
|
||||
else
|
||||
{
|
||||
X = result.charAt(m) + X;
|
||||
}
|
||||
}
|
||||
result = I + X;
|
||||
let U = result.split('');
|
||||
for(m = 0; m < U.length; m++)
|
||||
{
|
||||
if(!isNaN(U[m]))
|
||||
{
|
||||
for(let R = m + 1; R < U.length; R++)
|
||||
{
|
||||
if(!isNaN(U[R]))
|
||||
{
|
||||
let S = U[m]^U[R];
|
||||
if(S < 10)
|
||||
{
|
||||
U[m] = S;
|
||||
}
|
||||
m = R;
|
||||
R = U.length;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
result = U.join('');
|
||||
result = window.atob(result);
|
||||
result = result.substring(result.length - (result.length - 16));
|
||||
result = result.substring(0, result.length - 16);
|
||||
if(result && (result.indexOf('http://') === 0 || result.indexOf("https://") === 0))
|
||||
{
|
||||
document.write('<!--');
|
||||
window.stop();
|
||||
window.onbeforeunload = null;
|
||||
window.location = result;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
// AdLinkFly
|
||||
let actual_app_vars = forced_app_vars = {
|
||||
"counter_value": "0",
|
||||
"force_disable_adblock": "0"
|
||||
}, isAdLinkFly = false;
|
||||
Object.defineProperty(window, "app_vars",
|
||||
{
|
||||
set: function(val)
|
||||
{
|
||||
isAdLinkFly = true;
|
||||
},
|
||||
get: function()
|
||||
{
|
||||
return actual_app_vars;
|
||||
}
|
||||
});
|
||||
for(let key in forced_app_vars)
|
||||
{
|
||||
Object.defineProperty(window.app_vars, key,
|
||||
{
|
||||
value: forced_app_vars[key],
|
||||
writable: false
|
||||
});
|
||||
}
|
||||
document.addEventListener("DOMContentLoaded", function()
|
||||
{
|
||||
if(isAdLinkFly)
|
||||
{
|
||||
let btn1 = document.getElementById("invisibleCaptchaShortlink");
|
||||
if(btn1 != null)
|
||||
{
|
||||
let captcha_timer = window.setInterval(function()
|
||||
{
|
||||
if(invisibleCaptchaShortlink !== undefined)
|
||||
{
|
||||
window.clearInterval(captcha_timer);
|
||||
btn1.click();
|
||||
}
|
||||
}, 100);
|
||||
}
|
||||
let btn2 = document.querySelectorAll(".get-link");
|
||||
if(btn2.length > 0)
|
||||
{
|
||||
let link_timer = window.setInterval(function()
|
||||
{
|
||||
if(document.querySelectorAll(".get-link.disabled").length == 0)
|
||||
{
|
||||
window.clearInterval(link_timer);
|
||||
btn2[0].click();
|
||||
}
|
||||
}, 100);
|
||||
}
|
||||
return;
|
||||
}
|
||||
// Shorte.st
|
||||
if(typeof app !== "undefined" && "options" in app && "intermediate" in app.options)
|
||||
{
|
||||
app.options.intermediate.timeToWait=1;
|
||||
let btn = document.getElementById(app.options.intermediate.skipButtonId),
|
||||
link_timer = window.setInterval(function()
|
||||
{
|
||||
if(btn.className.indexOf("show") > -1)
|
||||
{
|
||||
window.clearInterval(link_timer);
|
||||
location.href=app.options.intermediate.destinationUrl;
|
||||
}
|
||||
}, 100);
|
||||
return;
|
||||
}
|
||||
});
|
8
bypasses/linkshrink.js
Normal file
8
bypasses/linkshrink.js
Normal file
@ -0,0 +1,8 @@
|
||||
document.addEventListener("DOMContentLoaded", function()
|
||||
{
|
||||
let btn = document.getElementById("btd");
|
||||
if(btn != null)
|
||||
{
|
||||
btn.click();
|
||||
}
|
||||
});
|
8
bypasses/linkvertise.js
Normal file
8
bypasses/linkvertise.js
Normal file
@ -0,0 +1,8 @@
|
||||
document.addEventListener("DOMContentLoaded", function()
|
||||
{
|
||||
let btn = document.querySelectorAll("[data-download]");
|
||||
if(btn.length > 0)
|
||||
{
|
||||
location.href = btn[0].getAttribute("data-download");
|
||||
}
|
||||
});
|
15
bypasses/shortam.js
Normal file
15
bypasses/shortam.js
Normal file
@ -0,0 +1,15 @@
|
||||
document.addEventListener("DOMContentLoaded", function()
|
||||
{
|
||||
if(document.querySelectorAll(".skip-container").length > 0)
|
||||
{
|
||||
let form = document.createElement("form");
|
||||
form.method = "POST";
|
||||
let input = document.createElement("input");
|
||||
input.type = "hidden";
|
||||
input.name = "_image";
|
||||
input.value = "Continue";
|
||||
form.appendChild(input);
|
||||
form = document.body.appendChild(form);
|
||||
form.submit();
|
||||
}
|
||||
});
|
24
bypasses/sub2unlockcom.js
Normal file
24
bypasses/sub2unlockcom.js
Normal file
@ -0,0 +1,24 @@
|
||||
document.addEventListener("DOMContentLoaded", function()
|
||||
{
|
||||
$(document).ready(function()
|
||||
{
|
||||
var steps = document.querySelectorAll(".uk.unlock-step-link.check");
|
||||
if(steps.length > 0)
|
||||
{
|
||||
for(let i in steps)
|
||||
{
|
||||
if(i != 0 && steps[i] instanceof HTMLElement)
|
||||
{
|
||||
if(steps[i].className.substr(0, 3) == "uk ")
|
||||
{
|
||||
steps[i].className = steps[i].className.substr(3);
|
||||
}
|
||||
}
|
||||
}
|
||||
steps[0].removeAttribute("target");
|
||||
steps[0].setAttribute("href", "#");
|
||||
steps[0].click();
|
||||
document.getElementById("link").click();
|
||||
}
|
||||
});
|
||||
});
|
11
bypasses/viidsu.js
Normal file
11
bypasses/viidsu.js
Normal file
@ -0,0 +1,11 @@
|
||||
document.addEventListener("DOMContentLoaded", function()
|
||||
{
|
||||
var btn = document.getElementById("link-success-button");
|
||||
if(btn != null)
|
||||
{
|
||||
if(btn.getAttribute("data-url") != null)
|
||||
{
|
||||
location.href = btn.getAttribute("data-url");
|
||||
}
|
||||
}
|
||||
});
|
74
content_script.js
Normal file
74
content_script.js
Normal file
@ -0,0 +1,74 @@
|
||||
if(document instanceof HTMLDocument)
|
||||
{
|
||||
let site = "general", scripts = {
|
||||
"general": "general.js",
|
||||
"adfoc.us": "adfocus.js",
|
||||
"linkshrink.net": "linkshrink.js",
|
||||
"cshort.org": "cshort.js",
|
||||
"croco.site": "croco.js",
|
||||
"srt.am": "shortam.js",
|
||||
"direkt-wissen.com": "linkvertise.js",
|
||||
"cpmlink.net": "cpmlink.js",
|
||||
"admy.link": "admylink.js",
|
||||
"viid.su": "viidsu.js",
|
||||
"sub2unlock.com": "sub2unlockcom.js",
|
||||
"stu.lean.ws": "fame4me.js",
|
||||
"fame4.me": "fame4me.js"
|
||||
}, script, comment, injectScript = function(script_)
|
||||
{
|
||||
let isInline = (script_.substr(script_.length - 3) != ".js");
|
||||
if(script !== undefined)
|
||||
{
|
||||
document.documentElement.removeChild(script);
|
||||
}
|
||||
script = document.createElement("script");
|
||||
if(isInline)
|
||||
{
|
||||
script.textContent = "/* " + chrome.i18n.getMessage("injectionInline") + " */\n\n" + script_;
|
||||
}
|
||||
else
|
||||
{
|
||||
script.src = chrome.extension.getURL("/bypasses/" + script_);
|
||||
}
|
||||
if(site != "general")
|
||||
{
|
||||
script.setAttribute("data-" + chrome.i18n.getMessage("injectionAttr"), chrome.i18n.getMessage("appName"));
|
||||
}
|
||||
script = document.documentElement.appendChild(script);
|
||||
if(comment !== undefined && site != "general")
|
||||
{
|
||||
document.documentElement.removeChild(comment);
|
||||
}
|
||||
if(site == "general")
|
||||
{
|
||||
let comment = document.createComment(chrome.i18n.getMessage("injectionGeneral"));
|
||||
if(script.nextSibling)
|
||||
{
|
||||
comment = script.parentNode.insertBefore(comment, script.nextSibling);
|
||||
}
|
||||
else
|
||||
{
|
||||
comment = script.parentNode.appendChild(comment);
|
||||
}
|
||||
}
|
||||
};
|
||||
for(let domain in scripts)
|
||||
{
|
||||
if(domain != "general" && (window.location.host == domain || window.location.host.substr(window.location.host.length - (domain.length + 1)) == "." + domain))
|
||||
{
|
||||
site = domain;
|
||||
}
|
||||
}
|
||||
injectScript(scripts[site]);
|
||||
if(site == "general")
|
||||
{
|
||||
document.addEventListener("DOMContentLoaded", function()
|
||||
{
|
||||
if(document.body.hasAttribute("style") && document.body.getAttribute("style").indexOf("Undefined variable: img in <b>C:\\xampp\\htdocs\\") > -1 && document.body.getAttribute("style").indexOf(".php</b> on line <b>149</b>") > -1)
|
||||
{
|
||||
site = "fame4me";
|
||||
injectScript("fame4me.js");
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
1
firstrun/basic.css
Normal file
1
firstrun/basic.css
Normal file
@ -0,0 +1 @@
|
||||
/*basic.css v1.1 | (c)2017-2018, Netducks | https://netducks.space/assets/basic.css*/body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:1rem}h1,h2,h3,h4,h5,h6,p{margin:.5rem 0;font-family:inherit;font-weight:400}h1{font-size:2.5rem}h2{font-size:2rem}h3{font-size:1.75rem}h4{font-size:1.5rem}h5{font-size:1.25rem}h6{font-size:1rem}p{margin:5px 0}a{color:#0288D1;text-decoration:none}hr{border:none;border-bottom:1px solid #000;margin:10px 0}
|
20
firstrun/index.html
Normal file
20
firstrun/index.html
Normal file
@ -0,0 +1,20 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Thank you for installing Universal Bypass</title>
|
||||
<link rel="stylesheet" href="basic.css">
|
||||
</head>
|
||||
<body>
|
||||
<h1>Thank you for installing Universal Bypass</h1>
|
||||
<p>Whoo!</p>
|
||||
<hr>
|
||||
<p>What you can do now:</p>
|
||||
<ul>
|
||||
<li><a href="https://universal-bypass.org/example-links" target="_blank">Verify the bypasses work with our example links.</a></li>
|
||||
<li><a href="https://twitter.com/unibypass" target="_blank">Follow Universal Bypass on Twitter to always be in the loop about Universal Bypass.</a></li>
|
||||
<li><a href="https://timmyrs.de/support.txt" target="_blank">Support me and my projects.</a></li>
|
||||
</ul>
|
||||
<hr>
|
||||
<p>Copyright (c) 2018, <a href="https://timmyrs.de">Tim "timmyRS" Speckhals</a></p>
|
||||
</body>
|
||||
</html>
|
BIN
icon/icon_128.png
Normal file
BIN
icon/icon_128.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.3 KiB |
BIN
icon/icon_256.png
Normal file
BIN
icon/icon_256.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.2 KiB |
BIN
icon/icon_512.png
Normal file
BIN
icon/icon_512.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
37
manifest.json
Normal file
37
manifest.json
Normal file
@ -0,0 +1,37 @@
|
||||
{
|
||||
"manifest_version": 2,
|
||||
"icons": {
|
||||
"128": "icon/icon_128.png",
|
||||
"256": "icon/icon_256.png",
|
||||
"512": "icon/icon_512.png"
|
||||
},
|
||||
"default_locale": "en",
|
||||
"name": "__MSG_appName__",
|
||||
"description": "__MSG_appDesc__",
|
||||
"homepage_url": "https://universal-bypass.org/",
|
||||
"version": "1.7.1",
|
||||
"author": "timmyRS",
|
||||
"minimum_chrome_version": "41",
|
||||
"browser_action": {
|
||||
"default_icon": {
|
||||
"128": "icon/icon_128.png",
|
||||
"256": "icon/icon_256.png",
|
||||
"512": "icon/icon_512.png"
|
||||
},
|
||||
"default_popup": "popup/index.html"
|
||||
},
|
||||
"background": {
|
||||
"scripts": ["background.js"],
|
||||
"persistent": false
|
||||
},
|
||||
"content_scripts": [
|
||||
{
|
||||
"matches": ["*://*/*"],
|
||||
"js": ["content_script.js"],
|
||||
"run_at": "document_start"
|
||||
}
|
||||
],
|
||||
"web_accessible_resources": [
|
||||
"bypasses/*.js"
|
||||
]
|
||||
}
|
1
popup/index.html
Normal file
1
popup/index.html
Normal file
@ -0,0 +1 @@
|
||||
<script src="script.js"></script>
|
2
popup/script.js
Normal file
2
popup/script.js
Normal file
@ -0,0 +1,2 @@
|
||||
window.open("https://universal-bypass.org/");
|
||||
window.close();
|
Loading…
x
Reference in New Issue
Block a user