From b0005a9521baea5f6f65a7df1191dd4233978799 Mon Sep 17 00:00:00 2001
From: Amm0ni4 <gi0a0pc2@anonaddy.me>
Date: Mon, 12 Feb 2024 02:13:21 +0100
Subject: [PATCH] removed facebook, added 2 bypasses

-removed facebook by default
-added Bypass for linkspy.cc + clicksfly.com
-added Bypass for mundopolo.net
---
 2_generate_includes.py                        |  1 +
 Bypass_All_Shortlinks.meta.js                 |  5 ++-
 Bypass_All_Shortlinks.user.js                 | 42 ++++++++++++++++++-
 README.md                                     |  1 +
 .../linkspy.cc-clicksfly.com.user.js          | 28 +++++++++++++
 extra_bypasses/mundopolo.net.user.js          | 19 +++++++++
 supported_sites.txt                           |  1 -
 7 files changed, 92 insertions(+), 5 deletions(-)
 create mode 100644 extra_bypasses/linkspy.cc-clicksfly.com.user.js
 create mode 100644 extra_bypasses/mundopolo.net.user.js

diff --git a/2_generate_includes.py b/2_generate_includes.py
index 4e3122b..ff54438 100644
--- a/2_generate_includes.py
+++ b/2_generate_includes.py
@@ -72,6 +72,7 @@ def main():
                 "google", #drive/docs autoDL, bypass redirects, captchas
                 "youtube", #redirecting shorts
                 "twitter.com", #bypass redirects
+                "facebook.com", #bypass redirects
                 "tiktok.com", #bypass redirects
                 "vk.com" #bypass redirects
             ]
diff --git a/Bypass_All_Shortlinks.meta.js b/Bypass_All_Shortlinks.meta.js
index c1e3369..cc86515 100644
--- a/Bypass_All_Shortlinks.meta.js
+++ b/Bypass_All_Shortlinks.meta.js
@@ -3,7 +3,7 @@
 // @namespace  Violentmonkey Scripts
 // @run-at     document-start
 // @author     Bloggerpemula
-// @version        91.1
+// @version        91.1.1
 // @grant          GM_setValue
 // @grant          GM_getValue
 // @grant          GM_addStyle
@@ -39,7 +39,6 @@
 // @match *://*.dutchycorp.space/*
 // @include /^(https?:\/\/)(.+)?(link.birdurls.com|link.owllink.net|link.illink.net)(\/.*)/
 // @include /^(https?:\/\/)(.+)?((teachsansar|technicalatg|foodxor|cdrab).com|ecq.info|datacheap.io)(\/.*)/
-// @match *://*.facebook.com/*
 // @match *://*.ouo.io/*
 // @match *://*.linkbox.to/*
 // @include /^(https?:\/\/)(.+)?((desbloquea|drivelinks).me|(acortame-esto|recorta-enlace|enlace-protegido|super-enlace).com|short-info.link)(\/.*)/
@@ -654,6 +653,8 @@
 // @match       https://dropgalaxy.com/drive/*
 // @match       https://dropgalaxy.co/drive/*
 // @match       *://*.shareus.io/*
+// @match        https://linkspy.cc/tr/*
+// @match       https://m.mundopolo.net/#!*
 // @require     https://code.jquery.com/jquery-2.1.1.min.js
 // @exclude /^(https?:\/\/)(.+)?((advertisingexcel|talkforfitness|rsadnetworkinfo|rsinsuranceinfo|rsfinanceinfo|rssoftwareinfo|rshostinginfo|rseducationinfo|gametechreviewer|vegan4k|phineypet|batmanfactor|techedifier|urlhives|linkhives|github|freeoseocheck|greenenez|aliyun|reddit|bing|live|yahoo|wiki-topia|edonmanor|vrtier|whatsapp|gearsadviser|edonmanor|tunebug|menrealitycalc|amazon|ebay|payoneer|paypal|skrill|stripe|tipalti|wise|discord|tokopedia|taobao|aliexpress|(cloud|mail|translate|analytics|accounts|myaccount|contacts|clients6|developers|payments|pay|ogs|safety|wallet).google).com|(thumb8|thumb9|crewbase|crewus|shinchu|shinbhu|ultraten|uniqueten|topcryptoz|allcryptoz|coinsvalue|cookinguide|cryptowidgets|webfreetools|carstopia|makeupguide|carsmania).net|(linksfly|shortsfly|urlsfly|wefly|blog24).me|(greasyfork|openuserjs|adarima|telegram).org|mcrypto.club|misterio.ro|insurancegold.in|coinscap.info|(shopee|lazada|rakuten).*|(dana|ovo).id)(\/.*)/
 // @downloadURL https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/raw/branch/main/Bypass_All_Shortlinks.user.js
diff --git a/Bypass_All_Shortlinks.user.js b/Bypass_All_Shortlinks.user.js
index dc14061..520a2fa 100644
--- a/Bypass_All_Shortlinks.user.js
+++ b/Bypass_All_Shortlinks.user.js
@@ -3,7 +3,7 @@
 // @namespace  Violentmonkey Scripts
 // @run-at     document-start
 // @author     Bloggerpemula
-// @version        91.1
+// @version        91.1.1
 // @grant          GM_setValue
 // @grant          GM_getValue
 // @grant          GM_addStyle
@@ -39,7 +39,6 @@
 // @match *://*.dutchycorp.space/*
 // @include /^(https?:\/\/)(.+)?(link.birdurls.com|link.owllink.net|link.illink.net)(\/.*)/
 // @include /^(https?:\/\/)(.+)?((teachsansar|technicalatg|foodxor|cdrab).com|ecq.info|datacheap.io)(\/.*)/
-// @match *://*.facebook.com/*
 // @match *://*.ouo.io/*
 // @match *://*.linkbox.to/*
 // @include /^(https?:\/\/)(.+)?((desbloquea|drivelinks).me|(acortame-esto|recorta-enlace|enlace-protegido|super-enlace).com|short-info.link)(\/.*)/
@@ -654,6 +653,8 @@
 // @match       https://dropgalaxy.com/drive/*
 // @match       https://dropgalaxy.co/drive/*
 // @match       *://*.shareus.io/*
+// @match        https://linkspy.cc/tr/*
+// @match       https://m.mundopolo.net/#!*
 // @require     https://code.jquery.com/jquery-2.1.1.min.js
 // @exclude /^(https?:\/\/)(.+)?((advertisingexcel|talkforfitness|rsadnetworkinfo|rsinsuranceinfo|rsfinanceinfo|rssoftwareinfo|rshostinginfo|rseducationinfo|gametechreviewer|vegan4k|phineypet|batmanfactor|techedifier|urlhives|linkhives|github|freeoseocheck|greenenez|aliyun|reddit|bing|live|yahoo|wiki-topia|edonmanor|vrtier|whatsapp|gearsadviser|edonmanor|tunebug|menrealitycalc|amazon|ebay|payoneer|paypal|skrill|stripe|tipalti|wise|discord|tokopedia|taobao|aliexpress|(cloud|mail|translate|analytics|accounts|myaccount|contacts|clients6|developers|payments|pay|ogs|safety|wallet).google).com|(thumb8|thumb9|crewbase|crewus|shinchu|shinbhu|ultraten|uniqueten|topcryptoz|allcryptoz|coinsvalue|cookinguide|cryptowidgets|webfreetools|carstopia|makeupguide|carsmania).net|(linksfly|shortsfly|urlsfly|wefly|blog24).me|(greasyfork|openuserjs|adarima|telegram).org|mcrypto.club|misterio.ro|insurancegold.in|coinscap.info|(shopee|lazada|rakuten).*|(dana|ovo).id)(\/.*)/
 // @downloadURL https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/raw/branch/main/Bypass_All_Shortlinks.user.js
@@ -1759,3 +1760,40 @@
     }
 })();
 // ----- ----- -----
+
+// ----- Bypass for linkspy.cc + clicksfly.com  -----
+(function() {
+    'use strict';
+    if ( window.location.href.startsWith('https://linkspy.cc/tr/') ) {
+
+      //----Bypass linkspy.cc----
+      var encodedUrl = window.location.href.split('/tr/')[1];
+      var decodedUrl = atob(encodedUrl);
+      if (!decodedUrl.startsWith('https://clicksfly.com/')) {
+        window.location.assign(decodedUrl);
+
+      //----Bypass clicksfly.com----
+      } else if (decodedUrl.startsWith('https://clicksfly.com/')) {
+        var urlParam = new URLSearchParams(decodedUrl).get('url');
+        var decodedURL2 = atob(urlParam);
+        window.location.assign(decodedURL2);
+      }
+    }
+
+})();
+// ----- ----- -----
+
+
+// ----- Bypass for mundopolo.net -----
+(function() {
+    'use strict';
+    if ( window.location.href.startsWith('https://m.mundopolo.net/#!') ) {
+      var currentURL = window.location.href;
+      var encodedURL = currentURL.split('#!')[1]
+      var decodedURL = atob(atob(atob(encodedURL))); //base64 decode x3
+      decodedURL = decodeURIComponent(decodedURL);
+      window.location.assign(decodedURL);
+    }
+})();
+// ----- ----- -----
+
diff --git a/README.md b/README.md
index 72112ed..b16adbf 100644
--- a/README.md
+++ b/README.md
@@ -17,6 +17,7 @@ Automatically bypass many link shorteners [(supported_sites.txt)](https://codebe
             - Recaptcha `*://*/recaptcha/api2/*`_(@match)_ or `/^(?:https?:\/\/)?(?:www\.)?(?:google\.com|recaptcha\.net)\/recaptcha\/api2\/.*$/`_(@include)_ (used for Auto-Open of captchas in many sites).
         - Twitter `*://*.twitter.com/*`_(@match)_ Bypass redirects
         - TikTok `*://*.tiktok.com/*`_(@match)_ Bypass redirects
+        - Facebook `*://*.facebook.com/*`_(@match)_ Bypass redirects
         - VK `*://*.vk.com/*`_(@match)_ Bypass redirects
 
         Not including these is to prevent some people from worrying about the script running on sensitive sites. These can be re-enabled manually in your userscript manager, adding the mentioned _matching rules_ in the script _settings_.
diff --git a/extra_bypasses/linkspy.cc-clicksfly.com.user.js b/extra_bypasses/linkspy.cc-clicksfly.com.user.js
new file mode 100644
index 0000000..b62d13f
--- /dev/null
+++ b/extra_bypasses/linkspy.cc-clicksfly.com.user.js
@@ -0,0 +1,28 @@
+// ==UserScript==
+// @name         LinkSpy concatenated with clicksfly.com Bypass
+// @match        https://linkspy.cc/tr/*
+// @run-at       document-start
+// ==/UserScript==
+
+// ----- Bypass for linkspy.cc + clicksfly.com  -----
+(function() {
+    'use strict';
+    if ( window.location.href.startsWith('https://linkspy.cc/tr/') ) {
+
+      //----Bypass linkspy.cc----
+      var encodedUrl = window.location.href.split('/tr/')[1];
+      var decodedUrl = atob(encodedUrl);
+      if (!decodedUrl.startsWith('https://clicksfly.com/')) {
+        window.location.assign(decodedUrl);
+
+      //----Bypass clicksfly.com----
+      } else if (decodedUrl.startsWith('https://clicksfly.com/')) {
+        var urlParam = new URLSearchParams(decodedUrl).get('url');
+        var decodedURL2 = atob(urlParam);
+        window.location.assign(decodedURL2);
+      }
+    }
+
+})();
+// ----- ----- -----
+
diff --git a/extra_bypasses/mundopolo.net.user.js b/extra_bypasses/mundopolo.net.user.js
new file mode 100644
index 0000000..980f8b7
--- /dev/null
+++ b/extra_bypasses/mundopolo.net.user.js
@@ -0,0 +1,19 @@
+// ==UserScript==
+// @name        mundopolo.net bypass
+// @match       https://m.mundopolo.net/#!*
+// @run-at      document-start
+// ==/UserScript==
+
+// ----- Bypass for mundopolo.net -----
+(function() {
+    'use strict';
+    if ( window.location.href.startsWith('https://m.mundopolo.net/#!') ) {
+      var currentURL = window.location.href;
+      var encodedURL = currentURL.split('#!')[1]
+      var decodedURL = atob(atob(atob(encodedURL))); //base64 decode x3
+      decodedURL = decodeURIComponent(decodedURL);
+      window.location.assign(decodedURL);
+    }
+})();
+// ----- ----- -----
+
diff --git a/supported_sites.txt b/supported_sites.txt
index 9e1cc02..f4ef99d 100644
--- a/supported_sites.txt
+++ b/supported_sites.txt
@@ -24,7 +24,6 @@ olhonagrana.com
 dutchycorp.space
 link.birdurls.com|link.owllink.net|link.illink.net
 (teachsansar|technicalatg|foodxor|cdrab).com|ecq.info|datacheap.io
-facebook.com
 ouo.io
 linkbox.to
 (desbloquea|drivelinks).me|(acortame-esto|recorta-enlace|enlace-protegido|super-enlace).com|short-info.link