TMO+

Una extension para facilitar la navegacion en TMO

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==UserScript==
// @name         TMO+
// @namespace    TMO+
// @version      0.3
// @description  Una extension para facilitar la navegacion en TMO
// @author       Aldair
// @license      GNU GPLv3
// @match *://*lectortmo.com/*
// @match *://*almtechnews.com/news/*
// @match *://*animalcanine.com/news/*
// @match *://*animalslegacy.com/news/*
// @match *://*animalsside.com/news/*
// @match *://*animation2you.com/news/*
// @match *://*animationforyou.com/news/*
// @match *://*anisurion.com/news/*
// @match *://*anitirion.com/news/*
// @match *://*anitoc.com/news/*
// @match *://*checkingcars.com/news/*
// @match *://*cocinaconlupita.com/news/*
// @match *://*cook2love.com/news/*
// @match *://*cooker2love.com/news/*
// @match *://*cookermania.com/news/*
// @match *://*cookernice.com/news/*
// @match *://*cookerready.com/news/*
// @match *://*dariusmotor.com/news/*
// @match *://*enginepassion.com/news/*
// @match *://*fanaticmanga.com/news/*
// @match *://*feelthecook.com/news/*
// @match *://*fitfooders.com/news/*
// @match *://*gamesnk.com/news/*
// @match *://*gamesxo.com/news/*
// @match *://*infogames2you.com/news/*
// @match *://*infopetworld.com/news/*
// @match *://*keepfooding.com/news/*
// @match *://*mangalong.com/news/*
// @match *://*mistermanga.com/news/*
// @match *://*motorbakery.com/news/*
// @match *://*motoroilblood.com/news/*
// @match *://*motornk.com/new/*
// @match *://*motorpi.com/news/*
// @match *://*mygamesinfo.com/news/*
// @match *://*mynewsrecipes.com/news/*
// @match *://*myotakuinfo.com/news/*
// @match *://*otakunice.com/news/*
// @match *://*otakuworldgames.com/news/*
// @match *://*otakworld.com/news/*
// @match *://*paleomotor.com/news/*
// @match *://*recetasdelupita.com/news/*
// @match *://*recetchef.com/news/*
// @match *://*recipesandcooker.com/news/*
// @match *://*recipesaniki.com/news/*
// @match *://*recipescoaching.com/news/*
// @match *://*recipesdo.com/news/*
// @match *://*recipesist.com/news/*
// @match *://*recipesnk.com/news/*
// @match *://*releasingcars.com/news/*
// @match *://*sucrecipes.com/news/*
// @match *://*techinroll.com/news/*
// @match *://*vgmotor.com/news/*
// @match *://*vsrecipes.com/news/*
// @match *://*worldmangas.com/news/*
// @match *://*wtechnews.com/news/*
// @grant        none
// @run-at document-start
// ==/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;
        }
            if(e.code == "ArrowLeft"){
            location = document.querySelector(".chapter-prev").querySelector("a").href;
        }
    }
})();