您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
测试Dome
当前为
此脚本不应直接安装。它是供其他脚本使用的外部库,要使用该库请加入元指令 // @require https://update.greasyfork.icu/scripts/448354/1073262/dome-test.js
// ==UserScript== // @name dome-test // @version 0.0.1 // @description 测试Dome // @author Gamyou // @include * // @license Apache License, Version 2.0 // @grant GM_getValue // @grant GM_setValue // @grant GM_log // ==/UserScript== (function () { console.log('=================> 开始储存myValue'); GM_setValue('myValue', '123456789'); console.log('=================> 储存完成,开始获取myValue'); let value = GM_getValue('myValue', 'abcdefg'); console.log('=================> 获取完成,开始调用GM_log进行控制台打印'); GM_log('获取到的值为:' + value); console.log('=================> 打印完成'); })