Greasy Fork is available in English.

樱花动漫下一话

ctl+<>控制上一话、下一话

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください。
// ==UserScript==
// @name         樱花动漫下一话
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  ctl+<>控制上一话、下一话
// @author       kakasearch
// @match        http://www.yhdm.io/*
// @icon         https://www.google.com/s2/favicons?domain=yhdm.io
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    window.document.addEventListener("keydown", function(event){
        var e = window.event
            if((window.event.ctrlKey)&&(window.event.keyCode==190)){//下一个视频
                document.querySelector("div.fav.r > a:nth-child(4)").click()

            }else if((window.event.ctrlKey)&&(window.event.keyCode==188)){//上一个视频
                document.querySelector("div.fav.r > a:nth-child(2)").click()
            }
    })

    // Your code here...
})();