Tampermonkey 用于编辑存储内容的 "Storage" 选项卡在哪里?
Where is Tampermonkey's "Storage" tab to edit the storage content?
根据 Tampermonkey 的 FAQ:
Q400: I want to edit/view the values stored by a userscript. How can I
do that?
A400: Open Tampermonkey's Dashboard and click at the script's name.
Click at the 'Storage' if present and check or modify the stored data
as needed. If there is no 'Storage' tab, then the script has no data
stored.
我找不到“存储”选项卡,任何人都可以确认它有效吗?选项卡在哪里的屏幕截图? (很确定我的脚本中存储了数据,因为当我使用 GM_getValue
时,我得到了一些东西)。
这是我的脚本的屏幕截图,没有“存储”选项卡。在运行之后,值是按照我的console.log存储的,但是还是没有tab。
显示存储 选项卡的要求:
- 脚本必须使用
GM_setValue()
实际保存了数据。
- 配置模式必须设置为
Advanced
:
之后,
要查看它:
- 打开 Tampermonkey 的编辑器on/for 有问题的脚本。
- 单击存储 选项卡。
- 那里的数据是 JSON 格式。如果您编辑它,建议在点击 保存 按钮之前使用 a JSON validator 检查。
以下是屏幕截图中的顺序(点击查看大图):
根据 Tampermonkey 的 FAQ:
Q400: I want to edit/view the values stored by a userscript. How can I do that?
A400: Open Tampermonkey's Dashboard and click at the script's name. Click at the 'Storage' if present and check or modify the stored data as needed. If there is no 'Storage' tab, then the script has no data stored.
我找不到“存储”选项卡,任何人都可以确认它有效吗?选项卡在哪里的屏幕截图? (很确定我的脚本中存储了数据,因为当我使用 GM_getValue
时,我得到了一些东西)。
这是我的脚本的屏幕截图,没有“存储”选项卡。在运行之后,值是按照我的console.log存储的,但是还是没有tab。
显示存储 选项卡的要求:
- 脚本必须使用
GM_setValue()
实际保存了数据。 - 配置模式必须设置为
Advanced
:
之后,
要查看它:
- 打开 Tampermonkey 的编辑器on/for 有问题的脚本。
- 单击存储 选项卡。
- 那里的数据是 JSON 格式。如果您编辑它,建议在点击 保存 按钮之前使用 a JSON validator 检查。
以下是屏幕截图中的顺序(点击查看大图):