Amm0ni4 2024-09-11 12:40:24 +02:00
parent 50e242a330
commit 60de8aeccf
3 changed files with 12 additions and 4 deletions

View file

@ -4,7 +4,7 @@
// @run-at document-start
// @author Amm0ni4
// @noframes
// @version 92.7.2
// @version 92.7.3
// @grant GM_setValue
// @grant GM_getValue
// @grant GM_addStyle

View file

@ -4,7 +4,7 @@
// @run-at document-start
// @author Amm0ni4
// @noframes
// @version 92.7.2
// @version 92.7.3
// @grant GM_setValue
// @grant GM_getValue
// @grant GM_addStyle
@ -2673,9 +2673,13 @@
if (getTargetPageRequest.status !== 200) return;
const targetPageResponse = await getTargetPageRequest.json();
const targetPageURL = targetPageResponse['data']['getDetailPageTarget']['url'];
if (targetPageURL === null || !targetPageURL || targetPageURL.trim() === "") {
window.location.href = 'https://adbypass.org/bypass?bypass=' + window.location.href;
} else {
window.location.href = targetPageURL;
}
}
}
// Function to intercept XHR requests
function interceptXHR() {

View file

@ -86,9 +86,13 @@
if (getTargetPageRequest.status !== 200) return;
const targetPageResponse = await getTargetPageRequest.json();
const targetPageURL = targetPageResponse['data']['getDetailPageTarget']['url'];
if (targetPageURL === null || !targetPageURL || targetPageURL.trim() === "") {
window.location.href = 'https://adbypass.org/bypass?bypass=' + window.location.href;
} else {
window.location.href = targetPageURL;
}
}
}
// Function to intercept XHR requests
function interceptXHR() {