您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
press 3 to autoclick and load more google history. Automatically deletes history.
当前为
// ==UserScript== // @name Google History Deleter // @namespace https://history.google.com/history // @version 0.2 // @description press 3 to autoclick and load more google history. Automatically deletes history. // @author RexOmni // @match https://history.google.com/history/* // @grant none // @require https://ajax.googleapis.com/ajax/libs/jquery/2.2.2/jquery.min.js // @updateULR https://openuserjs.org/meta/RexOmniFurtim/Google_History_Deleter.meta.js // ==/UserScript== (function() { var isWorking = false; var t=setInterval(work,1000); //md-checked function work(){ if(isWorking){ // click all epty checkmarks $("md-checkbox.ng-empty").click(); // if there is a load more button if($("button[ng-click='lookupController.loadMore()']").length === 0){ $("button[ng-click='lookupController.loadMore()']").click(); // load more } else { console.log("Deleting"); $("button.history-delete-btn").click(); } }} window.onkeydown = function(event) { // key code '3' if (event.keyCode === 51) { if (!isWorking){ alert("On"); isWorking = true; } else{ alert("Off"); isWorking = false; } } }; console.log("GoogleHistoryCLicker Loaded!"); })();