Quiero Ver Mi MANGA!!!!
当前为
// ==UserScript==
// @name Multi-script Para TMO
// @namespace Mother Of Mangas
// @version 3.02
// @description Quiero Ver Mi MANGA!!!!
// @homepageURL https://greasyfork.org/es/scripts/430361-multi-script-para-tmo
// @icon https://visortmo.com/favicon/android-chrome-192x192.png
// @author IRhoAias
// @connect *
// @grant GM.getResourceUrl
// @grant GM_xmlhttpRequest
// @grant GM_getResourceURL
// @license Copyright IRhoAias
// @match *://*lectortmo.com/*
// @match *://*visortmo.com/*
// @exclude *://*visortmo.com/view_uploads/*
// @match *://*almtechnews.com/*
// @match *://*animalcanine.com/*
// @match *://*animalslegacy.com/*
// @match *://*animalsside.com/*
// @match *://*animation2you.com/*
// @match *://*animationforyou.com/*
// @match *://*anisurion.com/*
// @match *://*anitirion.com/*
// @match *://*anitoc.com/*
// @match *://*checkingcars.com/*
// @match *://*cocinakitty.com/*
// @match *://*cocinaconlupita.com/*
// @match *://*cocinandoporpaises.com/*
// @match *://*cocinapaises.com/*
// @match *://*cocinaporpaises.com/*
// @match *://*cocinarporelmundo.com/*
// @match *://*comiendoporpaises.com/*
// @match *://*comollamarle.com/*
// @match *://*cook2love.com/*
// @match *://*cooker2love.com/*
// @match *://*cookermania.com/*
// @match *://*cookernice.com/*
// @match *://*cookerready.com/*
// @match *://*cycliactive.com/*
// @match *://*cyclingresolution.com/*
// @match *://*dariusmotor.com/*
// @match *://*disfrutacocina.com/*
// @match *://*eligeunnombre.com/*
// @match *://*enginepassion.com/*
// @match *://*fanaticmanga.com/*
// @match *://*fashionandcomplements.com/*
// @match *://*fashioncoy.com/*
// @match *://*feelthecook.com/*
// @match *://*fitfooders.com/*
// @match *://*gamesnacion.com/*
// @match *://*gamesnewses.com/*
// @match *://*gamesnk.com/*
// @match *://*gamesxo.com/*
// @match *://*gastronomiaporpaises.com/*
// @match *://*infogames2you.com/*
// @match *://*infonombre.com/*
// @match *://*infopetworld.com/*
// @match *://*informaciondenombres.com/*
// @match *://*juegostmo.com/juegos/*
// @match *://*keepfooding.com/*
// @match *://*lacocinadelupita.com/*
// @match *://*letsmotorgo.com/*
// @match *://*lucianacocina.com/*
// @match *://*lupitaalosfogones.com/*
// @match *://*mangalong.com/*
// @match *://*mislyfashion.com/*
// @match *://*mistermanga.com/*
// @match *://*motorbakery.com/*
// @match *://*motoroilblood.com/*
// @match *://*motoralm.com/*
// @match *://*motornk.com/*
// @match *://*motorpi.com/*
// @match *://*motorwithpassion.com/*
// @match *://*mundorecetascuriosas.com/*
// @match *://*mygamesinfo.com/*
// @match *://*mynewsrecipes.com/*
// @match *://*myotakuinfo.com/*
// @match *://*nombesparatubebe.com/*
// @match *://*otakunice.com/*
// @match *://*otakuworldgames.com/*
// @match *://*otakworld.com/*
// @match *://*paleomotor.com/*
// @match *://*recetascuriosas.com/*
// @match *://*recetasdegina.com/*
// @match *://*recetasdelupita.com/*
// @match *://*recetaspaises.com/*
// @match *://*recetasviaje.com/*
// @match *://*recetchef.com/*
// @match *://*recipesandcooker.com/*
// @match *://*recipesaniki.com/*
// @match *://*recipescoaching.com/*
// @match *://*recipesdo.com/*
// @match *://*recipesloves.com/*
// @match *://*recipesist.com/*
// @match *://*recipesnk.com/*
// @match *://*recipestraveling.com/*
// @match *://*recipestravelworld.com/*
// @match *://*releasingcars.com/*
// @match *://*romotorcar.com/*
// @match *://*sucrecipes.com/*
// @match *://*techingro.com/*
// @match *://*techinroll.com/*
// @match *://*technewsroll.com/*
// @match *://*tocanimation.com/*
// @match *://*tomotorengine.com/*
// @match *://*toncycling.com/*
// @match *://*topamotor.com/*
// @match *://*vehicleinlove.com/*
// @match *://*vgmotor.com/*
// @match *://*vsrecipes.com/*
// @match *://*worldcuisineis.com/*
// @match *://*worldmangas.com/*
// @match *://*worldrecipesu.com/*
// @match *://*wolkytech.com/*
// @match *://*wtechnews.com/*
// @run-at document-idle
// ==/UserScript==
//PAGE
(function() {
'use strict';
var Regex12 = /\/[0-9a-zA-Z]{12}\//
var Regex32 = /\/[0-9a-zA-Z]{13,32}\//
var Juegos = /\/juegos\//;
function extractUrl() {
return window.location.href;
}
function extractPathname() {
return window.location.pathname;
}
function isTMO() {
const url = extractUrl();
return url.includes('visortmo.com');
}
function TMOUploads() {
const url = extractUrl();
return url.includes('visortmo.com/view_uploads');
}
function CallBack() {
const pathname = extractPathname();
if (Regex12.test(pathname) && !isTMO() && !TMOUploads()) {
window.history.back();
setTimeout(function() {
console.log('Backeo Completo.');
}, 1500);
}
}
function redirectTMO() {
const pathname = extractPathname();
if (Regex32.test(pathname) && !isTMO()) {
location.href = location.href.replace(`${location.host}/news/${location.pathname.split("/")[2]}/cascade`, `visortmo.com/viewer/${location.pathname.split("/")[2]}/cascade`);
setTimeout(function() {
console.log('Redireccion Completada.');
}, 1000);
}
}
function GamePath() {
const pathname = extractPathname();
if (Regex32.test(pathname) && (Juegos.test(pathname)) && !isTMO()) {
location.href = location.href.replace("juegostmo.com/juegos/", "visortmo.com/viewer/");
setTimeout(function() {
console.log('Redireccion Completada.');
}, 1000);
}
}
function CascadeR() {
if ((location.href).includes("cascade1")) {
location.href = location.href.replace(
/cascade1*/, "cascade"
);
}
}
function executeFunctions() {
redirectTMO();
setTimeout(GamePath, 500);
setTimeout(CascadeR, 500);
setTimeout(CallBack, 1500);
}
executeFunctions();
})();
//✙[̲̅S][̲̅c][̲̅r][̲̅i][̲̅p][̲̅t]✙
//▢▇▇▇▇▇▇▇▇▇▇▇▇▇▇▢
// ╭━╮╭━╮ ╭╮ ╱
// ╰━┫╰━┫ ╰╯╱╭╮
// ╰━╯╰━╯ ╱ ╰╯
// COMPLETE
document.addEventListener('keydown', logKey);
function logKey(e) {
if(e.code == "ArrowRight"){
location = document.querySelector(".chapter-next").querySelector("a").href;
}
if(e.code == "ArrowLeft"){
location = document.querySelector(".chapter-prev").querySelector("a").href;
}
}