fix linegee.net for pahe.ink

https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/239
This commit is contained in:
Amm0ni4 2025-02-13 16:18:54 +01:00
parent 9298624f84
commit ec2200e3ba
5 changed files with 31 additions and 11 deletions

View file

@ -111,6 +111,8 @@ def modify_file_with_my_fixes(input_file, output_file):
"""
content = content.replace(linestoremove, "")
content = content.replace("BypassedByBloggerPemula(/linegee.net/", "//BypassedByBloggerPemula(/linegee.net/")
content += "\n"
with open(output_file, 'w', encoding='utf-8') as file:

View file

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

View file

@ -4,7 +4,7 @@
// @run-at document-start
// @author Amm0ni4
// @noframes
// @version 93.7.12
// @version 93.7.13
// @grant GM_setValue
// @grant GM_getValue
// @grant GM_addStyle
@ -1344,7 +1344,7 @@
BypassedByBloggerPemula(/1ink.cc|cuturl.cc/, function() {ClickIfExists('#countingbtn', 1);});
BypassedByBloggerPemula(/jameeltips.us/, function() {ClickIfExists('#continue_button_1', 1);});
BypassedByBloggerPemula(/post.copydev.com/, function() {ClickIfExists('.btn-success.btn', 6);});
BypassedByBloggerPemula(/linegee.net/, function() {ClickIfExists('.btn-xs.btn-primary.btn', 2);});
//BypassedByBloggerPemula(/linegee.net/, function() {ClickIfExists('.btn-xs.btn-primary.btn', 2);});
BypassedByBloggerPemula(/bedrat.xyz|uhtrdr47.online/, function() {ClickIfExists('#link1112', 5);});
BypassedByBloggerPemula(/pro.sh/, function() {ClickIfExists('.btn-secondary', 3, 'setInterval');});
BypassedByBloggerPemula(/proappapk.com|meclipstudy.in/, function() {ClickIfExists('#gotolink', 5);});
@ -2483,11 +2483,20 @@
}) : null;
//pahe.ink final step
/spacetica.com/.test(url) ? afterDOMLoaded(function() {
if (!document.querySelector('.form-group')){
clickIfExists('a.btn-primary.btn-xs');
/linegee.net/.test(url) ? afterDOMLoaded(function() {
const scripts = document.getElementsByTagName('script');
for (let script of scripts) {
const content = script.innerHTML;
const match = content.match(/location\.href\s*=\s*atob\('([^']+)'\);/);
if (match) {
setTimeout(() => {
window.location.assign(window.location.href + atob(match[1]));
}, 3000);
break;
}
}
}) : null;
/pahe.plus/.test(url) ? afterDOMLoaded(function() {clickIfNotDisabled('#invisibleCaptchaShortlink')}) : null;
/pahe.plus/.test(url) ? afterDOMLoaded(function() {redirectIfNotDisabled('a.get-link')}) : null;

View file

@ -888,11 +888,20 @@
}) : null;
//pahe.ink final step
/spacetica.com/.test(url) ? afterDOMLoaded(function() {
if (!document.querySelector('.form-group')){
clickIfExists('a.btn-primary.btn-xs');
/linegee.net/.test(url) ? afterDOMLoaded(function() {
const scripts = document.getElementsByTagName('script');
for (let script of scripts) {
const content = script.innerHTML;
const match = content.match(/location\.href\s*=\s*atob\('([^']+)'\);/);
if (match) {
setTimeout(() => {
window.location.assign(window.location.href + atob(match[1]));
}, 3000);
break;
}
}
}) : null;
/pahe.plus/.test(url) ? afterDOMLoaded(function() {clickIfNotDisabled('#invisibleCaptchaShortlink')}) : null;
/pahe.plus/.test(url) ? afterDOMLoaded(function() {redirectIfNotDisabled('a.get-link')}) : null;

View file

@ -37,7 +37,7 @@
// @namespace Violentmonkey Scripts
// @run-at document-start
// @author Bloggerpemula
// @version 93.7.12
// @version 93.7.13
// @match *://*/*
// @grant GM_setValue
// @grant GM_getValue
@ -501,7 +501,7 @@
BypassedByBloggerPemula(/1ink.cc|cuturl.cc/, function() {ClickIfExists('#countingbtn', 1);});
BypassedByBloggerPemula(/jameeltips.us/, function() {ClickIfExists('#continue_button_1', 1);});
BypassedByBloggerPemula(/post.copydev.com/, function() {ClickIfExists('.btn-success.btn', 6);});
BypassedByBloggerPemula(/linegee.net/, function() {ClickIfExists('.btn-xs.btn-primary.btn', 2);});
//BypassedByBloggerPemula(/linegee.net/, function() {ClickIfExists('.btn-xs.btn-primary.btn', 2);});
BypassedByBloggerPemula(/bedrat.xyz|uhtrdr47.online/, function() {ClickIfExists('#link1112', 5);});
BypassedByBloggerPemula(/pro.sh/, function() {ClickIfExists('.btn-secondary', 3, 'setInterval');});
BypassedByBloggerPemula(/proappapk.com|meclipstudy.in/, function() {ClickIfExists('#gotolink', 5);});