mirror of
https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated.git
synced 2025-01-01 17:33:00 +05:00
disable ad-maven bypasser site while its not working
This commit is contained in:
parent
dad3671357
commit
6b0fb46959
3 changed files with 52 additions and 48 deletions
|
@ -4,7 +4,7 @@
|
||||||
// @run-at document-start
|
// @run-at document-start
|
||||||
// @author Amm0ni4
|
// @author Amm0ni4
|
||||||
// @noframes
|
// @noframes
|
||||||
// @version 91.9.5
|
// @version 91.9.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 91.9.5
|
// @version 91.9.6
|
||||||
// @grant GM_setValue
|
// @grant GM_setValue
|
||||||
// @grant GM_getValue
|
// @grant GM_getValue
|
||||||
// @grant GM_addStyle
|
// @grant GM_addStyle
|
||||||
|
@ -1822,29 +1822,31 @@
|
||||||
// ----- Bypass ad-maven with adbypass.eu -----
|
// ----- Bypass ad-maven with adbypass.eu -----
|
||||||
(function() {
|
(function() {
|
||||||
'use strict';
|
'use strict';
|
||||||
var url = window.location.href;
|
if (false) {
|
||||||
if (/((ebaticalfel|megadropsz|stownrusis|iedprivatedqu).com)\/s\?/.test(url)) {
|
var url = window.location.href;
|
||||||
GM_setValue('savedShortlink', url);
|
if (/((ebaticalfel|megadropsz|stownrusis|iedprivatedqu).com)\/s\?/.test(url)) {
|
||||||
window.location.assign('https://adbypass.eu/');
|
GM_setValue('savedShortlink', url);
|
||||||
} else if (/adbypass.eu/.test(url) && !url.includes('/unblock')) {
|
window.location.assign('https://adbypass.eu/');
|
||||||
window.addEventListener("load", function(event) {
|
} else if (/adbypass.eu/.test(url) && !url.includes('/unblock')) {
|
||||||
var savedShortlink = GM_getValue('savedShortlink', null);
|
window.addEventListener("load", function(event) {
|
||||||
var inputField = document.querySelector('#inputt');
|
var savedShortlink = GM_getValue('savedShortlink', null);
|
||||||
if (savedShortlink && inputField) {
|
var inputField = document.querySelector('#inputt');
|
||||||
inputField.value = savedShortlink;
|
if (savedShortlink && inputField) {
|
||||||
GM_deleteValue('savedShortlink');
|
inputField.value = savedShortlink;
|
||||||
setTimeout(function() {let bypassButton = document.querySelector('#bttn');if (bypassButton) {bypassButton.click(); bypassButton.disabled = true;}}, 1000);
|
GM_deleteValue('savedShortlink');
|
||||||
}
|
setTimeout(function() {let bypassButton = document.querySelector('#bttn');if (bypassButton) {bypassButton.click(); bypassButton.disabled = true;}}, 1000);
|
||||||
});
|
}
|
||||||
} else if (/adbypass.eu\/unblock/.test(url)) {
|
});
|
||||||
window.addEventListener('load', function() {
|
} else if (/adbypass.eu\/unblock/.test(url)) {
|
||||||
var linkElement = document.querySelector('.form__group > a:nth-child(5)');
|
window.addEventListener('load', function() {
|
||||||
if (linkElement && linkElement.href) {
|
var linkElement = document.querySelector('.form__group > a:nth-child(5)');
|
||||||
//if (confirm('Bypass done.\nRedirect to ' + linkElement.href + ' ?')) {
|
if (linkElement && linkElement.href) {
|
||||||
window.location.assign(linkElement.href);
|
//if (confirm('Bypass done.\nRedirect to ' + linkElement.href + ' ?')) {
|
||||||
//}
|
window.location.assign(linkElement.href);
|
||||||
}
|
//}
|
||||||
});
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
})();
|
})();
|
||||||
// ----- ----- -----
|
// ----- ----- -----
|
||||||
|
|
|
@ -12,29 +12,31 @@
|
||||||
// ----- Bypass ad-maven with adbypass.eu -----
|
// ----- Bypass ad-maven with adbypass.eu -----
|
||||||
(function() {
|
(function() {
|
||||||
'use strict';
|
'use strict';
|
||||||
var url = window.location.href;
|
if (false) {
|
||||||
if (/((ebaticalfel|megadropsz|stownrusis|iedprivatedqu).com)\/s\?/.test(url)) {
|
var url = window.location.href;
|
||||||
GM_setValue('savedShortlink', url);
|
if (/((ebaticalfel|megadropsz|stownrusis|iedprivatedqu).com)\/s\?/.test(url)) {
|
||||||
window.location.assign('https://adbypass.eu/');
|
GM_setValue('savedShortlink', url);
|
||||||
} else if (/adbypass.eu/.test(url) && !url.includes('/unblock')) {
|
window.location.assign('https://adbypass.eu/');
|
||||||
window.addEventListener("load", function(event) {
|
} else if (/adbypass.eu/.test(url) && !url.includes('/unblock')) {
|
||||||
var savedShortlink = GM_getValue('savedShortlink', null);
|
window.addEventListener("load", function(event) {
|
||||||
var inputField = document.querySelector('#inputt');
|
var savedShortlink = GM_getValue('savedShortlink', null);
|
||||||
if (savedShortlink && inputField) {
|
var inputField = document.querySelector('#inputt');
|
||||||
inputField.value = savedShortlink;
|
if (savedShortlink && inputField) {
|
||||||
GM_deleteValue('savedShortlink');
|
inputField.value = savedShortlink;
|
||||||
setTimeout(function() {let bypassButton = document.querySelector('#bttn');if (bypassButton) {bypassButton.click(); bypassButton.disabled = true;}}, 1000);
|
GM_deleteValue('savedShortlink');
|
||||||
}
|
setTimeout(function() {let bypassButton = document.querySelector('#bttn');if (bypassButton) {bypassButton.click(); bypassButton.disabled = true;}}, 1000);
|
||||||
});
|
}
|
||||||
} else if (/adbypass.eu\/unblock/.test(url)) {
|
});
|
||||||
window.addEventListener('load', function() {
|
} else if (/adbypass.eu\/unblock/.test(url)) {
|
||||||
var linkElement = document.querySelector('.form__group > a:nth-child(5)');
|
window.addEventListener('load', function() {
|
||||||
if (linkElement && linkElement.href) {
|
var linkElement = document.querySelector('.form__group > a:nth-child(5)');
|
||||||
//if (confirm('Bypass done.\nRedirect to ' + linkElement.href + ' ?')) {
|
if (linkElement && linkElement.href) {
|
||||||
window.location.assign(linkElement.href);
|
//if (confirm('Bypass done.\nRedirect to ' + linkElement.href + ' ?')) {
|
||||||
//}
|
window.location.assign(linkElement.href);
|
||||||
}
|
//}
|
||||||
});
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
})();
|
})();
|
||||||
// ----- ----- -----
|
// ----- ----- -----
|
||||||
|
|
Loading…
Reference in a new issue