mirror of
https://github.com/QuiteAFancyEmerald/Holy-Unblocker.git
synced 2025-05-15 04:40:01 -04:00
Merge branch 'master' of https://github.com/QuiteAFancyEmerald/HolyUnblockerPublic
This commit is contained in:
commit
a6e729025a
2 changed files with 21 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
/* -----------------------------------------------
|
||||
/* MIT license: http://opensource.org/licenses/MIT
|
||||
/* How to use? : Check the documentation. Button ID attributes are used for the script below.
|
||||
/* v2.0.0
|
||||
/* v2.0.3
|
||||
/* ----------------------------------------------- */
|
||||
$ = e => document.getElementById(e) || [];
|
||||
|
||||
|
@ -18,6 +18,8 @@ $('buttonstealth').onclick = function() {
|
|||
} else url = btoa(url)
|
||||
frame.src = "https://subdomain." + domain + "/path/" + url;
|
||||
frame.style['visibility'] = "visible";
|
||||
frame.setAttribute('allow', 'fullscreen');
|
||||
frame.setAttribute('sandbox', 'allow-same-origin allow-scripts allow-popups allow-forms');
|
||||
document.cookie = 'oldsmobile=badcar; expires=' + (Date.now() + 259200) + '; SameSite=Lax; domain=.' + auth + '; path=/; Secure;';
|
||||
document.getElementById('frame').contentWindow.focus();
|
||||
return false;
|
||||
|
@ -48,6 +50,8 @@ $('al').onclick = function() {
|
|||
} else url = btoa(url)
|
||||
frame.src = "https://" + domain + "/fetch/" + url;
|
||||
frame.style['visibility'] = "visible";
|
||||
frame.setAttribute('allow', 'fullscreen');
|
||||
frame.setAttribute('sandbox', 'allow-same-origin allow-scripts allow-popups allow-forms');
|
||||
document.cookie = 'oldsmobile=badcar; expires=' + (Date.now() + 259200) + '; SameSite=Lax; domain=.' + auth + '; path=/; Secure;';
|
||||
document.getElementById('frame').contentWindow.focus();
|
||||
return false;
|
||||
|
@ -73,6 +77,8 @@ $('nprox').onclick = function() {
|
|||
var domain = det.replace('www.', '').split(/[/?#]/)[0];
|
||||
frame.src = "https://a." + domain + "/call/" + url;
|
||||
frame.style['visibility'] = "visible";
|
||||
frame.setAttribute('allow', 'fullscreen');
|
||||
frame.setAttribute('sandbox', 'allow-same-origin allow-scripts allow-popups allow-forms');
|
||||
document.cookie = 'nu_auth=yes; expires=' + (Date.now() + 259200) + '; SameSite=None; domain=.' + auth + '; path=/; Secure;';
|
||||
return false;
|
||||
};
|
||||
|
@ -93,6 +99,8 @@ $('pdprox').onclick = function() {
|
|||
var domain = det.replace('www.', '').split(/[/?#]/)[0];
|
||||
frame.src = "https://cdn." + domain + "/" + url;
|
||||
frame.style['visibility'] = "visible";
|
||||
frame.setAttribute('allow', 'fullscreen');
|
||||
frame.setAttribute('sandbox', 'allow-same-origin allow-scripts allow-popups allow-forms');
|
||||
document.cookie = 'oldsmobile=badcar; expires=' + (Date.now() + 259200) + '; SameSite=Lax; domain=.' + auth + '; path=/; Secure;';
|
||||
return false;
|
||||
};
|
||||
|
@ -112,6 +120,8 @@ $('pmprox').onclick = function() {
|
|||
var domain = det.replace('www.', '').split(/[/?#]/)[0];
|
||||
document.getElementById("frame").src = "https://c." + domain + "/prox?url=" + url;
|
||||
frame.style['visibility'] = "visible";
|
||||
frame.setAttribute('allow', 'fullscreen');
|
||||
frame.setAttribute('sandbox', 'allow-same-origin allow-scripts allow-popups allow-forms');
|
||||
document.cookie = 'oldsmobile=1; expires=' + (Date.now() + 259200) + '; SameSite=Lax; domain=.' + auth + '; path=/; Secure;';
|
||||
document.getElementById("frame").style.visiblity = "visible";
|
||||
return false;
|
||||
|
@ -134,6 +144,8 @@ $('ytbtn').onclick = function() {
|
|||
const origin = btoa(yt)
|
||||
frame.src = "https://" + domain + "/fetch/" + origin;
|
||||
frame.style['visibility'] = "visible";
|
||||
frame.setAttribute('allow', 'fullscreen');
|
||||
frame.setAttribute('sandbox', 'allow-same-origin allow-scripts allow-popups allow-forms');
|
||||
document.cookie = 'oldsmobile=badcar; expires=' + (Date.now() + 259200) + '; SameSite=Lax; domain=.' + auth + '; path=/; Secure;';
|
||||
return false;
|
||||
};
|
||||
|
@ -145,6 +157,8 @@ $('ytbtnm').onclick = function() {
|
|||
const origin = btoa(yt)
|
||||
frame.src = "https://" + domain + "/fetch/" + origin;
|
||||
frame.style['visibility'] = "visible";
|
||||
frame.setAttribute('allow', 'fullscreen');
|
||||
frame.setAttribute('sandbox', 'allow-same-origin allow-scripts allow-popups allow-forms');
|
||||
document.cookie = 'oldsmobile=badcar; expires=' + (Date.now() + 259200) + '; SameSite=Lax; domain=.' + auth + '; path=/; Secure;';
|
||||
return false;
|
||||
};
|
||||
|
@ -167,6 +181,8 @@ $('dbtn').onclick = function() {
|
|||
const origin = btoa(d)
|
||||
frame.src = "https://" + domain + "/fetch/" + origin + "/login";
|
||||
frame.style['visibility'] = "visible";
|
||||
frame.setAttribute('allow', 'fullscreen');
|
||||
frame.setAttribute('sandbox', 'allow-same-origin allow-scripts allow-popups allow-forms');
|
||||
document.cookie = 'oldsmobile=badcar; expires=' + (Date.now() + 259200) + '; SameSite=Lax; domain=.' + auth + '; path=/; Secure;';
|
||||
return false;
|
||||
};
|
||||
|
@ -196,6 +212,8 @@ $('ch').onclick = function() {
|
|||
var domain = det.replace('www.', '').split(/[/?#]/)[0];
|
||||
frame.src = "https://c." + domain + "/app";
|
||||
frame.style['visibility'] = "visible";
|
||||
frame.setAttribute('allow', 'fullscreen');
|
||||
frame.setAttribute('sandbox', 'allow-same-origin allow-scripts allow-popups allow-forms');
|
||||
document.cookie = 'oldsmobile=badcar; expires=' + (Date.now() + 259200) + '; SameSite=Lax; domain=.' + auth + '; path=/; Secure;';
|
||||
return false;
|
||||
};
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue