您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
use it to delete your youtube comment history at https://myactivity.google.com/page?hl=en&page=youtube_comments
- // ==UserScript==
- // @name Youtube Comment History batch Delete
- // @namespace
- // @match https://myactivity.google.com/*
- // @grant none
- // @version 1.2
- // @author wayhee
- // @description use it to delete your youtube comment history at https://myactivity.google.com/page?hl=en&page=youtube_comments
- // @namespace
- // ==/UserScript==
- (function () {
- 'use strict';
- var clicker = function () {
- var e = document.querySelectorAll('.YxbmAc .yHy1rc')[Math.random() * 100 >= 50 ? 0 : 1];
- if (e) {
- console.log("Clicked", e);
- e.click();
- } else {
- console.log("No Button found");
- }
- };
- window.setInterval(clicker, 5000);
- })();