// ==UserScript== // @name 動畫瘋·Plus // @namespace https://home.gamer.com.tw/homeindex.php?owner=xu3u04u48 // @version 2.2.4 // @description 分級標識自動同意、自動切換至下一集、自動點此跳過廣告、影片空降座標、網頁全螢幕、子母畫面 // @author xu3u04u48 // @match *://ani.gamer.com.tw/animeVideo.php?sn=* // @icon https://i2.bahamut.com.tw/anime/baha_s.png // @grant GM_setValue // @grant GM_getValue // @run-at document-end // @downloadURL https://update.greasyfork.icu/scripts/369990/%E5%8B%95%E7%95%AB%E7%98%8B%C2%B7Plus.user.js // @updateURL https://update.greasyfork.icu/scripts/369990/%E5%8B%95%E7%95%AB%E7%98%8B%C2%B7Plus.meta.js // ==/UserScript== var update_info = { version : GM_info.script.version, content(){ return ` ${this.version} 更新
X
'); clearInterval(window.videoend); if(load.storage.video_next){ Player.video_html().on( 'ended', function() { self.countdown = 5; let nextplayer = $('.playing').next().html(); let match = (nextplayer != null) ? nextplayer.match('')[1] : null; if(match != null && self.repeate){ self.main(); self.repeate = false; } }); }else{ $("#ani_video-next").css("display", 'none'); } $("#stop_video-next").click(function () { self.repeate = true; $("#ani_video-next").css("display", 'none'); clearInterval(window.videoend); }); } }, danmuGet:{ danmudata:null, main(){ let self = this; var ngkeyword = Object.values($(".ani-keyword-body").children(".ani-keyword-label").children("span")).map(item => item.innerText) if($.inArray(":",ngkeyword) != -1 || $.inArray(":",ngkeyword) != -1){ $(".plus_time_body").html('