// ==UserScript== // @name 動畫瘋·Plus // @namespace https://home.gamer.com.tw/homeindex.php?owner=xu3u04u48 // @version 2.0.5 // @description 分級標識自動同意、自動切換至下一集、自動點此跳過廣告、影片空降座標、網頁全螢幕、子母畫面 // @author xu3u04u48 // @match *://ani.gamer.com.tw/animeVideo.php?sn=* // @icon https://i2.bahamut.com.tw/anime/baha_s.png // @require https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js // @grant GM_setValue // @grant GM_getValue // @run-at document-end // @downloadURL none // ==/UserScript== var update_info = { version : GM_info.script.version, content(){ return ` ${this.version} 更新
X
'); 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; } }); } $("#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 keyword = $(".ani-keyword-body").children(".ani-keyword-label").children("span"); for(var i =0; i< keyword.length; i++){ if(keyword[i].outerText == ":" || keyword[i].outerText == ":"){ $(".plus_time_body").html('