// ==UserScript== // @name 美和易思MOOT|十一 // @namespace fooor.cn // @version 1.11 // @description 美和易思MOOT去鼠标检测,可快进,自动下一章|十一 // @author 十一 // @match *://*.51moot.net/server_hall_2/server_hall_2/* // @grant none // @downloadURL none // ==/UserScript== (function () { 'use strict'; console.log("本脚本出生于2018-9-10,请勿盗版!") $.ajax({ type: "get", url: window.location.href, success: function (response) { var pattern = /polyvObject([\s\S]*)w/; if (!pattern.test(response)){ return; } var arr = pattern.exec(response); var jsText = arr[0].slice(0,arr[0].length-6) jsText = `var player = ${jsText}` var js = jsText.replace('ban_seek_by_limit_time','test') eval(js); }, }); var html = `
`; $('body').append(html); window.s2j_onPlayOver =function(){ if (localStorage.getItem("autoplay") !=='true'){ return } if ($('.active').next().length>0) { $('.active').next().click() }else{ $('.active').parents('.vedio-play-conts-left-chapter').next().children('.vedio-play-conts-left-chapter-list').children().children()[0].click() } } window.s2j_onReadyPlay =function(){ player.j2s_resumeVideo() } window.s2j_onPlayerInitOver=function(){ player.j2s_setVolume(0) } window.onblur = null; })();