在隐身模式下使用 GM_getvalue 存储数据

Storing data with GM_getvalue in incognito mode

是否可以在隐身模式下使用 GM_getValue 永久保存数据 (chrome)?

我看到了可以在 Tampermonkey 安全设置下启用 "Store data in Incognito" 的建议。但是那个特定的设置似乎丢失了。我还看到了其他人的屏幕截图。

Chrome 上的 Tampermonkey:

  1. 隐身模式中存储的数据在离开隐身模式时丢失。
  2. 我发现没有 Tampermonkey 设置会改变它 (Tampermonkey 4.8)。
  3. Google Chrome does not want extensions saving data in incognito mode:

    Incognito mode promises that the window will leave no tracks. When dealing with data from incognito windows, extensions should honor this promise. If an extension normally saves browsing history, don't save history from incognito windows. However, extensions can store setting preferences (only) from any window, incognito or not.


Firefox 上的 Tampermonkey:

  1. GM_setValue数据存储in/from私有Windows保留
  2. 我发现没有 Tampermonkey 设置会改变它 (Tampermonkey 4.9.5921)。