We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
脚本代码页修改代码后保存,直接调试,实际调试代码为旧代码和旧存储。 必须要刷新页面后再调试才是新代码和新存储
The text was updated successfully, but these errors were encountered:
代码好像不是旧的,不过储存是旧的
Sorry, something went wrong.
修复,一个测试脚本:
// ==UserScript== // @name New Userscript // @namespace https://bbs.tampermonkey.net.cn/ // @version 0.1.0 // @description try to take over the world! // @author You // @grant GM_setValue // @grant GM_getValue // @grant GM_addValueChangeListener // @background // ==/UserScript== console.log(GM_getValue('num')); GM_setValue('num', (GM_getValue('num') || 0) + 1); GM_addValueChangeListener('num', (a, b, c) => { console.log(a, b, c); }); return new Promise(resolve => { setTimeout(() => { resolve(); }, 10000) })
🐛 修复debug值问题 #163
826d164
No branches or pull requests
脚本代码页修改代码后保存,直接调试,实际调试代码为旧代码和旧存储。
必须要刷新页面后再调试才是新代码和新存储
The text was updated successfully, but these errors were encountered: