Swiftly go through Teknoasian, Intercelestial, and Linegee to reach your destination link.
// ==UserScript==
// @name Bypass Pahe Links
// @namespace https://naeembolchhi.github.io/
// @version 0.60
// @description Swiftly go through Teknoasian, Intercelestial, and Linegee to reach your destination link.
// @author NaeemBolchhi
// @license GPL-3.0-or-later
// @icon https://pahe.li/wp-content/uploads/2017/12/favicon.ico
// @require https://greatest.deepsurf.us/scripts/456228/code/456228.js?version=1125944
// @match https://teknoasian.com/*
// @match https://linegee.net/*
// @match https://intercelestial.com/*
// @run-at document-start
// @grant none
// ==/UserScript==
// Make everything disappear!
const voidCSS = `* {opacity: 0;z-index: -999999;}`;
function addStyle(css) {
let head = document.querySelector('head'),
style = document.createElement('style');
style.innerHTML = css;
head.appendChild(style);
}
let headObserver = new MutationObserver(function() {
if (document.title) {
addStyle(voidCSS.replace(';',' !important;'));
headObserver.disconnect();
}
});
headObserver.observe(document.documentElement, {childList: true, subtree: true});
// Bypass Page 1 for Teknoasian
function action1() {
if (!window.location.host.match(/teknoasian/)) {return;}
try {
if (document.querySelector('#lite-human-verif-button')) {
document.title = "Bypass Action (1/3)";
document.querySelector('#lite-human-verif-button').click();
}
} catch {}
}
// Bypass Page 2 for Teknoasian
function action2() {
if (!window.location.host.match(/teknoasian/)) {return;}
try {
if (document.querySelector('#scroll-end-button')) {
document.title = "Bypass Action (2/3)";
document.querySelector('#scroll-end-button').click();
setTimeout(function() {
document.title = "Close This Tab";
}, 200);
}
} catch {}
}
// Bypass Page 3 for Linegee
function action3() {
if (!window.location.host.match(/linegee/)) {return;}
try {
if (document.querySelector('.btn.btn-primary')) {
document.title = "Bypass Action (3/3)";
document.querySelector('.btn.btn-primary').click();
}
} catch {}
}
// Bypass Page 1 for Intercelestial
function action4() {
if (!window.location.host.match(/intercelestial/)) {return;}
try {
if (document.querySelector('#soralink-human-verif-main')) {
document.title = "Bypass Action (1/3)";
let observer = new MutationObserver(function() {
if (window.getComputedStyle(document.querySelector('#soralink-human-verif-main')).getPropertyValue('display') !== "none") {
document.querySelector('#soralink-human-verif-main').click();
}
});
observer.observe(document.querySelector('#soralink-human-verif-main'), {attributes: true});
}
} catch {}
}
// Bypass Page 2 for Intercelestial
function action5() {
if (!window.location.host.match(/intercelestial/)) {return;}
try {
if (document.querySelector('#showlink')) {
document.title = "Bypass Action (2/3)";
document.querySelector('#showlink').click();
setTimeout(function() {
document.title = "Close This Tab";
}, 200);
}
} catch {}
}
// Wait for page to be "complete"
document.onreadystatechange = function () {
// Modify body when document is complete.
if (document.readyState === 'complete') {
action1();
action2();
action3();
action4();
action5();
}
}