// ==UserScript== // @name TMO+ // @namespace TMO+ // @version 0.2 // @description Una extension para facilitar la navegacion en TMO // @author Aldair // @license GNU GPLv3 // @match *://*lectortmo.com/* // @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 *://*cook2love.com/* // @match *://*cooker2love.com/* // @match *://*cookermania.com/* // @match *://*cookernice.com/* // @match *://*cookerready.com/* // @match *://*dariusmotor.com/* // @match *://*enginepassion.com/* // @match *://*fanaticmanga.com/* // @match *://*gamesnk.com/* // @match *://*gamesxo.com/* // @match *://*infogames2you.com/* // @match *://*infopetworld.com/* // @match *://*keepfooding.com/* // @match *://*mangalong.com/* // @match *://*mistermanga.com/* // @match *://*motorbakery.com/* // @match *://*motornk.com/* // @match *://*motorpi.com/* // @match *://*mygamesinfo.com/* // @match *://*mynewsrecipes.com/* // @match *://*myotakuinfo.com/* // @match *://*otakunice.com/* // @match *://*otakuworldgames.com/* // @match *://*otakworld.com/* // @match *://*paleomotor.com/* // @match *://*recetchef.com/* // @match *://*recipesaniki.com/* // @match *://*recipescoaching.com/* // @match *://*recipesdo.com/* // @match *://*recipesist.com/* // @match *://*recipesnk.com/* // @match *://*sucrecipes.com/* // @match *://*vgmotor.com/* // @match *://*vsrecipes.com/* // @match *://*worldmangas.com/* // @match *://*wtechnews.com/* // @grant none // @run-at document-start // @downloadURL none // ==/UserScript== //Puse la license como MIT por error SORRY (function() { 'use strict'; //AGREGA UN BLACK MODE INFINITO if((location.href).includes("paginated")){ location.replace(`https://lectortmo.com/viewer/${location.pathname.split("/")[2]}/cascade`); } document.addEventListener('keydown', logKey); function logKey(e) { if(e.code == "ArrowRight"){ location = document.querySelector(".chapter-next").querySelector("a").href; }else{ location = document.querySelector(".chapter-prev").querySelector("a").href; } } })();