您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
11-11-2023 11:51:57
当前为
// ==UserScript== // @name NPO // @namespace Violentmonkey Scripts // @match https://npo.nl/* // @grant none // @version 1.0 // @author Xites // @description 11-11-2023 11:51:57 // @require http://code.jquery.com/jquery-3.3.1.min.js // @grant GM_addStyle // @license MIT // ==/UserScript== (function() { 'use strict'; jQuery.noConflict(); (function($) { var interval = setInterval(function(){ //console.log($('.bmpui-unmuted').length); if ($('.bmpui-unmuted').length > 0 || $('#bitmovinplayer-video-npo-player:visible').length > 0) { if ($('.bmpui-adLabel').length > 0) { $('.bmpui-ui-volumetogglebutton').trigger('click'); $('.bmpui-ui-volumeslider').val(0); $('#bitmovinplayer-video-npo-player').css('display', 'none'); } } if ($('.bmpui-muted').length > 0 && $('.bmpui-adLabel').length == 0) { $('.bmpui-ui-volumeslider').val(100); } if ($('#bitmovinplayer-video-npo-player:visible').length == 0 && $('.bmpui-adLabel').length == 0) { $('#bitmovinplayer-video-npo-player').css('display', ''); } }, 500); })(jQuery); })();