您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Удаляет кнопку "Создать клип"
// ==UserScript== // @name Remove the "Create Clip" button from YouTube // @namespace http://tampermonkey.net/ // @version 1.1 // @description Удаляет кнопку "Создать клип" // @author PoolSmoke // @match *://*.youtube.com/* // @grant none // @license MIT // ==/UserScript== 'use strict'; let currentLocation = window.location.href; function TestBlock() { if (document.querySelector('#top-level-buttons-computed > ytd-button-renderer:nth-child(5)')){ document.querySelector('#top-level-buttons-computed > ytd-button-renderer:nth-child(5)').remove(); clearInterval(timerId1); } } function CheckURL() { if (window.location.href != currentLocation){ currentLocation = window.location.href; timerId1 = setInterval(TestBlock, 1000); } } let timerId1 = setInterval(TestBlock, 1000); let timerId2 = setInterval(CheckURL, 5000);