mirror of
https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated.git
synced 2025-03-02 21:39:38 +05:00
add bstlar bypass
https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/237
This commit is contained in:
parent
cc228e1441
commit
386fd0505b
5 changed files with 137 additions and 3 deletions
|
@ -4,7 +4,7 @@
|
|||
// @run-at document-start
|
||||
// @author Amm0ni4
|
||||
// @noframes
|
||||
// @version 93.7.9
|
||||
// @version 93.7.10
|
||||
// @grant GM_setValue
|
||||
// @grant GM_getValue
|
||||
// @grant GM_addStyle
|
||||
|
@ -697,6 +697,7 @@
|
|||
// @match https://tonordersitye.com/s?*
|
||||
// @match https://daughablelea.com/s?*
|
||||
// @match https://linkvertise.com/*
|
||||
// @match *://bstlar.com/*
|
||||
// @match https://bypass.city/bypass?bypass=*
|
||||
// @match https://adbypass.org/bypass?bypass=*
|
||||
// @match https://fc-lc.xyz/*
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
// @run-at document-start
|
||||
// @author Amm0ni4
|
||||
// @noframes
|
||||
// @version 93.7.9
|
||||
// @version 93.7.10
|
||||
// @grant GM_setValue
|
||||
// @grant GM_getValue
|
||||
// @grant GM_addStyle
|
||||
|
@ -697,6 +697,7 @@
|
|||
// @match https://tonordersitye.com/s?*
|
||||
// @match https://daughablelea.com/s?*
|
||||
// @match https://linkvertise.com/*
|
||||
// @match *://bstlar.com/*
|
||||
// @match https://bypass.city/bypass?bypass=*
|
||||
// @match https://adbypass.org/bypass?bypass=*
|
||||
// @match https://fc-lc.xyz/*
|
||||
|
@ -1736,6 +1737,69 @@
|
|||
// ----- ------ ----------
|
||||
|
||||
|
||||
// ----- Bypass bstlar ------
|
||||
// adapted to userscript from code by harryitz for FastForward
|
||||
// https://github.com/FastForwardTeam/FastForward/commit/89fb43ce12718b3d83edb0eb5abec4c683c16925
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
if (/bstlar.com/.test(window.location.href)) {
|
||||
|
||||
function getCookie(name) {
|
||||
let value = '; ' + document.cookie;
|
||||
let parts = value.split('; ' + name + '=');
|
||||
if (parts.length === 2) return parts.pop().split(';').shift();
|
||||
}
|
||||
|
||||
async function handleRedirect(data) {
|
||||
if (data.currentTarget?.responseText?.includes('tasks')) {
|
||||
const response = JSON.parse(data.currentTarget.responseText);
|
||||
const userAgent = navigator.userAgent;
|
||||
const XSRF_TOKEN = getCookie('XSRF-TOKEN');
|
||||
const boostellar_session = getCookie('boostellar_session');
|
||||
const PfufeQwMeP6og9Poi7DmjbGJCcYhyXKQhlPnQ4Ud = getCookie('PfufeQwMeP6og9Poi7DmjbGJCcYhyXKQhlPnQ4Ud');
|
||||
const cf_clearance = getCookie('cf_clearance');
|
||||
const task_request = await fetch('https://bstlar.com/api/link-completed', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
accept: 'application/json, text/plain, */*',
|
||||
authorization: 'null',
|
||||
cookie: `XSRF-TOKEN=${XSRF_TOKEN}; boostellar_session=${boostellar_session}; PfufeQwMeP6og9Poi7DmjbGJCcYhyXKQhlPnQ4Ud=${PfufeQwMeP6og9Poi7DmjbGJCcYhyXKQhlPnQ4Ud}; cf_clearance=${cf_clearance}`,
|
||||
origin: 'https://bstlar.com',
|
||||
pragma: 'no-cache',
|
||||
priority: 'u=1, i',
|
||||
referer: 'https://bstlar.com/hV/krampus',
|
||||
'user-agent': userAgent,
|
||||
'x-xsrf-token': XSRF_TOKEN,
|
||||
'Content-Type': 'application/json'
|
||||
},
|
||||
body: JSON.stringify({
|
||||
link_id: response['link']['id']
|
||||
})
|
||||
});
|
||||
|
||||
if (task_request.status !== 200) return;
|
||||
const task_response = await task_request.text();
|
||||
window.location.href = task_response;
|
||||
}
|
||||
}
|
||||
|
||||
function interceptXHR() {
|
||||
const open = XMLHttpRequest.prototype.open;
|
||||
XMLHttpRequest.prototype.open = function() {
|
||||
this.addEventListener("load", function(data) {
|
||||
handleRedirect(data);
|
||||
});
|
||||
open.apply(this, arguments);
|
||||
};
|
||||
}
|
||||
|
||||
interceptXHR();
|
||||
}
|
||||
|
||||
})();
|
||||
// ----- ------ ----------
|
||||
|
||||
//---Bypass.city clickable result----
|
||||
(function() {
|
||||
'use strict';
|
||||
|
|
68
extra_bypasses/bstlar.user.js
Normal file
68
extra_bypasses/bstlar.user.js
Normal file
|
@ -0,0 +1,68 @@
|
|||
// ==UserScript==
|
||||
// @name BSTLAR Bypass
|
||||
// @match *://bstlar.com/*
|
||||
// @run-at document-start
|
||||
// ==/UserScript==
|
||||
|
||||
// ----- Bypass bstlar ------
|
||||
// adapted to userscript from code by harryitz for FastForward
|
||||
// https://github.com/FastForwardTeam/FastForward/commit/89fb43ce12718b3d83edb0eb5abec4c683c16925
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
if (/bstlar.com/.test(window.location.href)) {
|
||||
|
||||
function getCookie(name) {
|
||||
let value = '; ' + document.cookie;
|
||||
let parts = value.split('; ' + name + '=');
|
||||
if (parts.length === 2) return parts.pop().split(';').shift();
|
||||
}
|
||||
|
||||
async function handleRedirect(data) {
|
||||
if (data.currentTarget?.responseText?.includes('tasks')) {
|
||||
const response = JSON.parse(data.currentTarget.responseText);
|
||||
const userAgent = navigator.userAgent;
|
||||
const XSRF_TOKEN = getCookie('XSRF-TOKEN');
|
||||
const boostellar_session = getCookie('boostellar_session');
|
||||
const PfufeQwMeP6og9Poi7DmjbGJCcYhyXKQhlPnQ4Ud = getCookie('PfufeQwMeP6og9Poi7DmjbGJCcYhyXKQhlPnQ4Ud');
|
||||
const cf_clearance = getCookie('cf_clearance');
|
||||
const task_request = await fetch('https://bstlar.com/api/link-completed', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
accept: 'application/json, text/plain, */*',
|
||||
authorization: 'null',
|
||||
cookie: `XSRF-TOKEN=${XSRF_TOKEN}; boostellar_session=${boostellar_session}; PfufeQwMeP6og9Poi7DmjbGJCcYhyXKQhlPnQ4Ud=${PfufeQwMeP6og9Poi7DmjbGJCcYhyXKQhlPnQ4Ud}; cf_clearance=${cf_clearance}`,
|
||||
origin: 'https://bstlar.com',
|
||||
pragma: 'no-cache',
|
||||
priority: 'u=1, i',
|
||||
referer: 'https://bstlar.com/hV/krampus',
|
||||
'user-agent': userAgent,
|
||||
'x-xsrf-token': XSRF_TOKEN,
|
||||
'Content-Type': 'application/json'
|
||||
},
|
||||
body: JSON.stringify({
|
||||
link_id: response['link']['id']
|
||||
})
|
||||
});
|
||||
|
||||
if (task_request.status !== 200) return;
|
||||
const task_response = await task_request.text();
|
||||
window.location.href = task_response;
|
||||
}
|
||||
}
|
||||
|
||||
function interceptXHR() {
|
||||
const open = XMLHttpRequest.prototype.open;
|
||||
XMLHttpRequest.prototype.open = function() {
|
||||
this.addEventListener("load", function(data) {
|
||||
handleRedirect(data);
|
||||
});
|
||||
open.apply(this, arguments);
|
||||
};
|
||||
}
|
||||
|
||||
interceptXHR();
|
||||
}
|
||||
|
||||
})();
|
||||
// ----- ------ ----------
|
|
@ -678,6 +678,7 @@ https://bleleadersto.com/s?*
|
|||
https://tonordersitye.com/s?*
|
||||
https://daughablelea.com/s?*
|
||||
https://linkvertise.com/*
|
||||
*://bstlar.com/*
|
||||
https://bypass.city/bypass?bypass=*
|
||||
https://adbypass.org/bypass?bypass=*
|
||||
https://fc-lc.xyz/*
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
// @namespace Violentmonkey Scripts
|
||||
// @run-at document-start
|
||||
// @author Bloggerpemula
|
||||
// @version 93.7.9
|
||||
// @version 93.7.10
|
||||
// @match *://*/*
|
||||
// @grant GM_setValue
|
||||
// @grant GM_getValue
|
||||
|
|
Loading…
Reference in a new issue