added linkvertise easy cases

This commit is contained in:
Amm0ni4 2024-02-19 04:31:33 +01:00
parent 7ea089901b
commit fbfa4077f0
5 changed files with 13 additions and 3 deletions

View file

@ -3,7 +3,7 @@
// @namespace Violentmonkey Scripts // @namespace Violentmonkey Scripts
// @run-at document-start // @run-at document-start
// @author Bloggerpemula // @author Bloggerpemula
// @version 91.1.8 // @version 91.1.9
// @grant GM_setValue // @grant GM_setValue
// @grant GM_getValue // @grant GM_getValue
// @grant GM_addStyle // @grant GM_addStyle
@ -677,6 +677,7 @@
// @include /seriezloaded.com.ng\/sl-download\/\?link=/ // @include /seriezloaded.com.ng\/sl-download\/\?link=/
// @include /www.itscybertech.com/ // @include /www.itscybertech.com/
// @include /thegadgetking.in/ // @include /thegadgetking.in/
// @include /(linkvertise.com|linkvertise.net|link-to.net).*\?r=/
// @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)(\/.*)/ // @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 // @downloadURL https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/raw/branch/main/Bypass_All_Shortlinks.user.js
// @updateURL https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/raw/branch/main/Bypass_All_Shortlinks.meta.js // @updateURL https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/raw/branch/main/Bypass_All_Shortlinks.meta.js

View file

@ -3,7 +3,7 @@
// @namespace Violentmonkey Scripts // @namespace Violentmonkey Scripts
// @run-at document-start // @run-at document-start
// @author Bloggerpemula // @author Bloggerpemula
// @version 91.1.8 // @version 91.1.9
// @grant GM_setValue // @grant GM_setValue
// @grant GM_getValue // @grant GM_getValue
// @grant GM_addStyle // @grant GM_addStyle
@ -677,6 +677,7 @@
// @include /seriezloaded.com.ng\/sl-download\/\?link=/ // @include /seriezloaded.com.ng\/sl-download\/\?link=/
// @include /www.itscybertech.com/ // @include /www.itscybertech.com/
// @include /thegadgetking.in/ // @include /thegadgetking.in/
// @include /(linkvertise.com|linkvertise.net|link-to.net).*\?r=/
// @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)(\/.*)/ // @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 // @downloadURL https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/raw/branch/main/Bypass_All_Shortlinks.user.js
// @updateURL https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/raw/branch/main/Bypass_All_Shortlinks.meta.js // @updateURL https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/raw/branch/main/Bypass_All_Shortlinks.meta.js
@ -1843,6 +1844,9 @@
/www.itscybertech.com/.test(url) ? clickIfVisible('.download') : null; /www.itscybertech.com/.test(url) ? clickIfVisible('.download') : null;
/thegadgetking.in/.test(url) ? popupsToRedirects() && afterDOMLoaded(function() {clickIfExists('#openbtn')}) : null; /thegadgetking.in/.test(url) ? popupsToRedirects() && afterDOMLoaded(function() {clickIfExists('#openbtn')}) : null;
// Linkvertise easy case (when there is '?r=')
/(linkvertise.com|linkvertise.net|link-to.net).*\?r=/.test(url) ? redirect(atob((new URLSearchParams(window.location.search)).get('r'))) : null;
})(); })();
// ----- ----- ----- // ----- ----- -----

View file

@ -8,7 +8,7 @@ Automatically bypass many link shorteners ([supported shorteners](https://codebe
(you need a userscript manager like [ViolentMonkey](https://violentmonkey.github.io/) installed in your web browser) (you need a userscript manager like [ViolentMonkey](https://violentmonkey.github.io/) installed in your web browser)
## Improvements in this fork ## Improvements in this fork
- **Disabled the linkvertise bypass. Use [linkvertise and krnl bypasser](https://greasyfork.org/scripts/427869)**, which works better for that shortener. (I disabled it to avoid conflicts between both scripts.) - **Disabled the linkvertise bypass for the complicated cases**. For those cases where the origin URL doesn't contain `?r=`, use [linkvertise and krnl bypasser](https://greasyfork.org/scripts/427869)**, which works better for that link shortener. (I disabled it to avoid conflicts between both scripts.)
- **Added extra bypasses** from the [extra_bypasses](https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/src/branch/main/extra_bypasses) folder. - **Added extra bypasses** from the [extra_bypasses](https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/src/branch/main/extra_bypasses) folder.
- **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). - **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): - Note: By default, the script will not run on the following sites (these can be enabled manually):

View file

@ -29,6 +29,7 @@
// @include /seriezloaded.com.ng\/sl-download\/\?link=/ // @include /seriezloaded.com.ng\/sl-download\/\?link=/
// @include /www.itscybertech.com/ // @include /www.itscybertech.com/
// @include /thegadgetking.in/ // @include /thegadgetking.in/
// @include /(linkvertise.com|linkvertise.net|link-to.net).*\?r=/
// @run-at document-start // @run-at document-start
// ==/UserScript== // ==/UserScript==
@ -176,6 +177,9 @@
/www.itscybertech.com/.test(url) ? clickIfVisible('.download') : null; /www.itscybertech.com/.test(url) ? clickIfVisible('.download') : null;
/thegadgetking.in/.test(url) ? popupsToRedirects() && afterDOMLoaded(function() {clickIfExists('#openbtn')}) : null; /thegadgetking.in/.test(url) ? popupsToRedirects() && afterDOMLoaded(function() {clickIfExists('#openbtn')}) : null;
// Linkvertise easy case (when there is '?r=')
/(linkvertise.com|linkvertise.net|link-to.net).*\?r=/.test(url) ? redirect(atob((new URLSearchParams(window.location.search)).get('r'))) : null;
})(); })();
// ----- ----- ----- // ----- ----- -----

View file

@ -662,3 +662,4 @@ r1.foxylinks.site
/seriezloaded.com.ng\/sl-download\/\?link=/ /seriezloaded.com.ng\/sl-download\/\?link=/
/www.itscybertech.com/ /www.itscybertech.com/
/thegadgetking.in/ /thegadgetking.in/
/(linkvertise.com|linkvertise.net|link-to.net).*\?r=/