mirror of
https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated.git
synced 2024-12-29 00:13:02 +05:00
Automatically bypass many link shorteners.
extra_bypasses | ||
.gitignore | ||
1_download_untouched.py | ||
2_generate_includes.py | ||
3_patch.py | ||
4_add_extra_bypasses.py | ||
Bypass_All_Shortlinks.meta.js | ||
Bypass_All_Shortlinks.user.js | ||
README.md | ||
supported_sites.txt |
Debloated fork of Bypass All Shortlinks (originally by bloggerpemula), with some additional bypasses and fixes.
Automatically bypass many link shorteners. (supported shorteners) (changelog)
Install
Install with this link
(you need a userscript manager like ViolentMonkey installed in your web browser)
Improvements in this fork
- Added more bypasses and some fixes through the scripts in the extra_bypasses directory.
- No loading the script indiscriminately on every site. The script will be loaded only for the sites that are supported. (the original userscript is loaded in every site you visit which is not necessary).
-
Note: By default, the script will not run on the following sites (these can be enabled manually):
- Youtube
*://*.youtube.com/shorts/*
(@match) (which is used for redirecting shorts) - Google:
- Drive/Docs
/^(https?:\/\/)(drive|docs)\.google\.com(\/.*)/
(@include) (which is used for Auto-DL from Drive/Docs) - redirects
/^https?:\/\/(?:www\.)?google\.com\/url.*[?&]q=/
(@include) (used for bypassing these redirects) - Recaptcha
*://*/recaptcha/api2/*
(@match) or/^(?:https?:\/\/)?(?:www\.)?(?:google\.com|recaptcha\.net)\/recaptcha\/api2\/.*$/
(@include) (used for Auto-Open of captchas in many sites).
- Drive/Docs
- 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 by default 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.
- Youtube
-
- No useless added redirects. The script will not redirect to
rotator.nurul-huda.sch.id
orfree4u.nurul-huda.or.id
which are sites set by the developer for tracking / collecting analytics and showing ads. Note: removing this could break "faucet" (crypto rewards) sites, according to Bloggerpemula, since they add a sometimes necessary delay. I don't try to support those sites with this fork. - No injecting unnecesary tracking in every site.
- The script will not inject that iframe linking to
menrealitycalc.com
. (Tip: this can be avoided in the original script adding this filter to uBlock Origin:||menrealitycalc.com^$third-party
) - The script will not inject this weird "adcopy_response". (I don't see a clear purpose for this, since it doesn't seem related in the script to any specific link shortener)
- The script will not inject that iframe linking to
- Removed non-latin non-unicode characters to avoid potential bug warnings.
Original script by bloggerpemula: greasyfork.org/scripts/431691
How I modify the original userscript
Executing these python scripts in order:
- 1_download_untouched.py
- 2_generate_includes.py
- 3_patch.py
- 4_add_extra_bypasses.py
Help make this better
You can help by:
- Reporting issues to the original script in greasyfork feedback or openuserjs issues (before doing this, check the issue is present in the original script)
- Reporting issues here on the issues tab. Post examples with the source link shortener and link source website. I will only add/fix content-sharing shortlinks, no faucet / crypto rewards.
- Suggesting to merge other scripts into this one.
- Editing/Adding code with pull requests.
- If while using uBlock Origin (recommended adblocker), a link shortener is showing ads or detecting you have adblock, report it here.