gpt4 book ai didi

tampermonkey - Tampermonkey 的 "Storage"选项卡在哪里编辑存储内容?

转载 作者:行者123 更新时间:2023-12-04 01:42:06 25 4
gpt4 key购买 nike

根据FAQ Tampermonkey 的:

Q400: I want to edit/view the values stored by a userscript. How can Ido 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 dataas needed. If there is no 'Storage' tab, then the script has no datastored.


我找不到存储选项卡 ,谁能确认我它有效吗?选项卡在哪里的屏幕截图? (很确定我的脚本中存储了数据,因为当我使用 GM_getValue 时,我得到了一些东西)。
这是我的脚本的屏幕截图,没有存储选项卡。运行后,根据我的console.log存储该值,但仍然没有选项卡。
enter image description here

最佳答案

显示存储选项卡的要求:

  • 该脚本必须使用 GM_setValue() 实际保存了数据。 .
  • 配置模式必须设置为 Advanced :

  • Config mode
    在那之后,
    看见了:
  • 针对相关脚本打开 Tampermonkey 的编辑器。
  • 单击存储选项卡。
  • 那里的数据采用 JSON 格式。如果您编辑它,建议检查 a JSON validator在点击保存按钮之前。

  • 这是屏幕截图中的序列(单击以获得更大的图像):
    opening the storage viewer

    关于tampermonkey - Tampermonkey 的 "Storage"选项卡在哪里编辑存储内容?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56918239/

    25 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com