您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Dlive.tv auto close Mature alert dialog
// ==UserScript== // @name Close Mature alert // @namespace http://tampermonkey.net/ // @version 0.2 // @description Dlive.tv auto close Mature alert dialog // @author dotladcop // @match https://dlive.tv/* // @icon https://www.google.com/s2/favicons?sz=64&domain=dlive.tv // @grant none // @license MIT // ==/UserScript== setInterval(DliveTimer, 600); function DliveTimer() { const rect = document.getElementsByClassName("agree")[0].getBoundingClientRect(); const isVisible = rect.width > 0 && rect.height > 0; if (isVisible) { document.getElementsByClassName("v-input--selection-controls__ripple")[0].click(); document.getElementsByClassName("v-input--selection-controls__ripple")[1].click(); document.getElementsByClassName("agree")[0].click(); } }