mirror of
https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated.git
synced 2025-01-31 06:57:29 +05:00
modified python scripts a bit to user openuserjs instead of greasyfork if needed
This commit is contained in:
parent
f6b074f669
commit
8c11c7bcc3
2 changed files with 7 additions and 2 deletions
|
@ -28,8 +28,9 @@ def modify_file_with_my_fixes(destination):
|
|||
file.write(content)
|
||||
|
||||
if __name__ == "__main__":
|
||||
url = "https://update.greasyfork.org/scripts/431691/Bypass%20All%20Shortlinks.user.js"
|
||||
url1 = "https://update.greasyfork.org/scripts/431691/Bypass%20All%20Shortlinks.user.js"
|
||||
url2 = "https://openuserjs.org/install/Bloggerpemula/Bypass_All_Shortlinks_Manual_Captcha.user.js"
|
||||
destination = "untouched_Bypass_All_Shortlinks.user.js"
|
||||
|
||||
download_file(url, destination)
|
||||
download_file(url2, destination)
|
||||
modify_file_with_my_fixes(destination)
|
||||
|
|
|
@ -59,6 +59,10 @@ def modify_script_extra(file_path):
|
|||
|
||||
content = content.replace("https://update.greasyfork.org/scripts/431691/Bypass%20All%20Shortlinks.meta.js",
|
||||
"https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/raw/branch/main/Bypass_All_Shortlinks.meta.js")
|
||||
|
||||
content = content.replace("https://openuserjs.org/meta/Bloggerpemula/Bypass_All_Shortlinks_Manual_Captcha.meta.js",
|
||||
"https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/raw/branch/main/Bypass_All_Shortlinks.meta.js")
|
||||
|
||||
|
||||
#Remove tracking
|
||||
|
||||
|
|
Loading…
Reference in a new issue