mirror of
https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated.git
synced 2024-12-27 23:43:02 +05:00
stop using bypass.vip free API and use bypass.city instead
https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/202
This commit is contained in:
parent
1d292bdcd3
commit
6caaceb42c
4 changed files with 7 additions and 30 deletions
|
@ -4,7 +4,7 @@
|
||||||
// @run-at document-start
|
// @run-at document-start
|
||||||
// @author Amm0ni4
|
// @author Amm0ni4
|
||||||
// @noframes
|
// @noframes
|
||||||
// @version 93.2.5
|
// @version 93.2.6
|
||||||
// @grant GM_setValue
|
// @grant GM_setValue
|
||||||
// @grant GM_getValue
|
// @grant GM_getValue
|
||||||
// @grant GM_addStyle
|
// @grant GM_addStyle
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
// @run-at document-start
|
// @run-at document-start
|
||||||
// @author Amm0ni4
|
// @author Amm0ni4
|
||||||
// @noframes
|
// @noframes
|
||||||
// @version 93.2.5
|
// @version 93.2.6
|
||||||
// @grant GM_setValue
|
// @grant GM_setValue
|
||||||
// @grant GM_getValue
|
// @grant GM_getValue
|
||||||
// @grant GM_addStyle
|
// @grant GM_addStyle
|
||||||
|
@ -1697,20 +1697,9 @@
|
||||||
const rParam = new URLSearchParams(window.location.search).get('r');
|
const rParam = new URLSearchParams(window.location.search).get('r');
|
||||||
if (rParam) {window.location.assign(atob(rParam));};
|
if (rParam) {window.location.assign(atob(rParam));};
|
||||||
|
|
||||||
// Linkvertise hard case and Admaven. First try bypass.vip, fallback to bypass.city
|
// Linkvertise hard case and Admaven using bypass.city
|
||||||
} else if (admavenRegex.test(window.location.href) || linkvertiseRegex.test(window.location.href) || lootlinkRegex.test(window.location.href)) {
|
} else if (admavenRegex.test(window.location.href) || linkvertiseRegex.test(window.location.href) || lootlinkRegex.test(window.location.href)) {
|
||||||
fetch(`https://api.bypass.vip/bypass?url=${encodeURIComponent(window.location.href)}`)
|
window.location.assign(`https://adbypass.org/bypass?bypass=${encodeURIComponent(window.location.href)}`);
|
||||||
.then(response => response.json())
|
|
||||||
.then(data => {
|
|
||||||
if (data.status == 'success') {
|
|
||||||
window.location.assign(data.result);
|
|
||||||
} else {
|
|
||||||
window.location.assign(`https://adbypass.org/bypass?bypass=${encodeURIComponent(window.location.href)}`);
|
|
||||||
}
|
|
||||||
})
|
|
||||||
.catch(err => {
|
|
||||||
window.location.assign(`https://adbypass.org/bypass?bypass=${encodeURIComponent(window.location.href)}`);
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
})();
|
})();
|
||||||
// ----- ------ ----------
|
// ----- ------ ----------
|
||||||
|
|
|
@ -41,8 +41,7 @@ You can help by:
|
||||||
This script contains code I took, or redirects to free services from other developers for certain bypasses.
|
This script contains code I took, or redirects to free services from other developers for certain bypasses.
|
||||||
Thanks to:
|
Thanks to:
|
||||||
- [BloggerPemula](https://greasyfork.org/users/810571-bloggerpemula)
|
- [BloggerPemula](https://greasyfork.org/users/810571-bloggerpemula)
|
||||||
- [bypass.vip](https://bypass.vip/) Free API used for l1nkv3rt1s3, Admaven and Loot-link.
|
- [bypass.city](https://bypass.city/) / [2](https://adbypass.org/) used for l1nkv3rt1s3, Admaven and Loot-link.
|
||||||
- [bypass.city](https://bypass.city/) / [2](https://adbypass.org/) Fallback for bypass.vip.
|
|
||||||
- [StephenP](https://greasyfork.org/users/104167-stephenp) for the filecrypt bypass.
|
- [StephenP](https://greasyfork.org/users/104167-stephenp) for the filecrypt bypass.
|
||||||
- [Rust1667](https://greasyfork.org/users/980489-rust1667) for some bypasses.
|
- [Rust1667](https://greasyfork.org/users/980489-rust1667) for some bypasses.
|
||||||
- [AdamWr](https://github.com/AdamWr) from AdGuard for the mega-enlace and acortalink.me bypasses.
|
- [AdamWr](https://github.com/AdamWr) from AdGuard for the mega-enlace and acortalink.me bypasses.
|
||||||
|
|
|
@ -20,20 +20,9 @@
|
||||||
const rParam = new URLSearchParams(window.location.search).get('r');
|
const rParam = new URLSearchParams(window.location.search).get('r');
|
||||||
if (rParam) {window.location.assign(atob(rParam));};
|
if (rParam) {window.location.assign(atob(rParam));};
|
||||||
|
|
||||||
// Linkvertise hard case and Admaven. First try bypass.vip, fallback to bypass.city
|
// Linkvertise hard case and Admaven using bypass.city
|
||||||
} else if (admavenRegex.test(window.location.href) || linkvertiseRegex.test(window.location.href) || lootlinkRegex.test(window.location.href)) {
|
} else if (admavenRegex.test(window.location.href) || linkvertiseRegex.test(window.location.href) || lootlinkRegex.test(window.location.href)) {
|
||||||
fetch(`https://api.bypass.vip/bypass?url=${encodeURIComponent(window.location.href)}`)
|
window.location.assign(`https://adbypass.org/bypass?bypass=${encodeURIComponent(window.location.href)}`);
|
||||||
.then(response => response.json())
|
|
||||||
.then(data => {
|
|
||||||
if (data.status == 'success') {
|
|
||||||
window.location.assign(data.result);
|
|
||||||
} else {
|
|
||||||
window.location.assign(`https://adbypass.org/bypass?bypass=${encodeURIComponent(window.location.href)}`);
|
|
||||||
}
|
|
||||||
})
|
|
||||||
.catch(err => {
|
|
||||||
window.location.assign(`https://adbypass.org/bypass?bypass=${encodeURIComponent(window.location.href)}`);
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
})();
|
})();
|
||||||
// ----- ------ ----------
|
// ----- ------ ----------
|
||||||
|
|
Loading…
Reference in a new issue