您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
altadefinizione fake intro skip
// ==UserScript== // @name altadefinizione // @namespace Violentmonkey Scripts // @include * // @run-at document-start // @grant none // @description altadefinizione fake intro skip // @version 0.0.1.20190425194134 // ==/UserScript== function zIndex_filter(node){ var childs = node.getElementsByTagName("*"); for (var c=0; c<childs.length; c++){ var css = getComputedStyle(childs[c]); if (childs[c].style.zIndex>1000 || css.zIndex>1000){ childs[c].remove(); c--; } } } window.onContextMenu = function(){ return true; } var url = window.location.href; if (url.indexOf("https://hdpass.")>=0){ fhd = (url.indexOf("res")>=0); window.onload=function(){ document.getElementsByClassName("wrapBgOpenload")[0].remove(); //set max resolution var res = document.getElementById("listRes").getElementsByTagName("a"); var nr = res.length; if (!fhd) window.location.href = res[nr-1].href; } } if (url.indexOf("oload")>=0){ window.onload=function(){ setTimeout(function(){ zIndex_filter(document.body); document.getElementsByClassName("videocontainer")[0].getElementsByTagName("span")[0].click(); //document.getElementsByClassName("vjs-poster vjs-hidden")[0].click(); //not working because firefox has blocked video autoplay document.getElementsByClassName("vjs-control-text")[0].click(); },1000); } }