您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
A handy library to work with site automation
// ==UserScript== // @name GoodsugaGeneralLibrary // @namespace http://tampermonkey.net/ // @version 1.0 // @description A handy library to work with site automation // @author Goodsuga // @match https://www.tampermonkey.net/ // @require https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js // @grant none // ==/UserScript== function TypeTextIntoInputField(querry, value) { $(querry).focus().click(); $(querry).val(value); $(querry).keydown(); $(querry).keyup(); } function ClickElement(querry) { $(querry).click(); } function SetStorage(item, value) { window.localStorage.setItem(item, value); } function GetStorage(item) { return window.localStorage.getItem(item); } function CompareStorage(item, compareToValue, isTypeImportant) { if(isTypeImportant) { return window.localStorage.getItem(item) === compareToValue; } else { return window.localStorage.getItem(item) == compareToValue; } } function NavigateToUrl(url) { window.location.href = url; } function ForceReloadPage() { window.location.reload(true); } (function() { 'use strict'; // Your code here... })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址