From 0b74ec1903339b3e8f368d685ccda58fd7b081e4 Mon Sep 17 00:00:00 2001 From: Amm0ni4 Date: Mon, 10 Feb 2025 20:47:32 +0100 Subject: [PATCH] fix previous commit but not completed --- 2_generate_includes.py | 17 +- Bypass_All_Shortlinks.meta.js | 174 ++++++++++++++++- Bypass_All_Shortlinks.user.js | 175 +++++++++++++++++- supported_sites.txt | 172 +++++++++++++++++ ...ched_Bypass_All_Shortlinks_patched.user.js | 3 +- 5 files changed, 537 insertions(+), 4 deletions(-) diff --git a/2_generate_includes.py b/2_generate_includes.py index 99ca616..e674a89 100644 --- a/2_generate_includes.py +++ b/2_generate_includes.py @@ -5,6 +5,12 @@ def extract_regex_from_js(js_code): matches1 = re.findall(pattern1, js_code) matches1 = [match.strip('/') for match in matches1] + pattern1b = r'BypassedByBloggerPemula\(/\s*([a-zA-Z0-9.-]+)\s*/,' + matches1b = re.findall(pattern1b, js_code) + + pattern1c = r'BypassedByBloggerPemula/\(([^)]+)\)/,' + matches1c = re.findall(pattern1c, js_code) + pattern2 = r"(?