From 2d88ddeb8fcd85d4d5920bd0d3dcde800054a519 Mon Sep 17 00:00:00 2001 From: TheEmeraldStarr Date: Mon, 19 Oct 2020 20:21:57 +0000 Subject: [PATCH] Updated YT Proxy Pages and Scripts --- public/assets/js/ym.js | 15 +++++ public/y.html | 135 +++++++++++++++++++++++++++++++++++++---- public/yh.html | 135 ++++------------------------------------- public/ym.html | 29 +++++++++ 4 files changed, 179 insertions(+), 135 deletions(-) create mode 100644 public/assets/js/ym.js create mode 100644 public/ym.html diff --git a/public/assets/js/ym.js b/public/assets/js/ym.js new file mode 100644 index 00000000..24b8a466 --- /dev/null +++ b/public/assets/js/ym.js @@ -0,0 +1,15 @@ +window.onload = function() { + // similar behavior as an HTTP redirect + var yt = `https://m.youtube.com`; + var det = document.domain; + var domain = det.replace('www.', '').split(/[/?#]/)[0]; + const origin = btoa(yt); + window.location.replace("https://" + domain + "/home/utils/?url=" + origin); + document.cookie = '__alloy_cookie_auth=yes; expires=' + (Date.now() + 259200) + '; SameSite=Lax; domain=.' + auth + '; path=/; Secure;'; + } + // Cookie Auth +var host = location.hostname.split('.'); +var auth = location.hostname; +if (host.length == 3) { + auth = `${host[1]}.${host[2]}`; +} \ No newline at end of file diff --git a/public/y.html b/public/y.html index 296acd15..04ea7c09 100644 --- a/public/y.html +++ b/public/y.html @@ -10,20 +10,133 @@ :D"> - + + + + + + + + + + + - - + +
+
+ + +
+
+ + + +
+
+
+

Youtube Proxy

+

Choose which proxy you would like to use. Below is some information.

+

Having Issues?:

+

If the page appears white, reload the page.
Lastly, if the page is marked as dangerous try using another Holy Unblocker link.

+ +
+
+
+
+
+
+
+ + + + + + + + + \ No newline at end of file diff --git a/public/yh.html b/public/yh.html index 9f738738..296acd15 100644 --- a/public/yh.html +++ b/public/yh.html @@ -10,133 +10,20 @@ :D"> - - - - - - - - - - - + - -
-
- - -
-
- - - -
-
-
-

Youtube Proxy

-

Choose which proxy you would like to use. Below is some information.

-

Having Issues?:

-

If the page appears white, reload the page.
Lastly, if the page is marked as dangerous try using another Holy Unblocker link.

- -
-
-
-
-
-
-
- - - - - - - - - + + \ No newline at end of file diff --git a/public/ym.html b/public/ym.html new file mode 100644 index 00000000..f80bc69d --- /dev/null +++ b/public/ym.html @@ -0,0 +1,29 @@ + + + + + + + + H​oly Unb​loc​ke​r + + + + + + + + + + + \ No newline at end of file