您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Clicks on the annoying button for you
// ==UserScript== // @name Yes, I'm here, YouTube Music // @namespace https://gitlab.com/user890104 // @version 20250801 // @description Clicks on the annoying button for you // @author Vencislav Atanasov // @license MIT // @match https://music.youtube.com/* // @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com // @grant none // ==/UserScript== (function() { 'use strict'; const tag = '[Yes, I\'m here, YouTube Music] '; console.log(`${tag}Script loaded`); setInterval(() => { const popup = document.querySelector('yt-formatted-string.ytmusic-you-there-renderer'); if (!popup) { return; } const button = popup?.nextElementSibling?.querySelector('button'); if (!button) { return; } button.click(); console.log(`${tag}Yes button clicked`); }, 1_000); })();