搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Even if you use Firefox's State Partitioning technology, I want to make sure that localStorage is not separated.

  • 4 回覆
  • 0 有這個問題
  • 25 次檢視
  • 最近回覆由 cor-el

more options

Site A has C iframe and Site B has C iframe. When data is inserted from Site A's C iframe, there must also be data from Site B's C iframe, but the two repositories cannot share data due to Firefox's security policy. The recommended method in Mozilla for this issue is to use "requestStorageAccessAPI". However, when using the method, Cookie Data is shared, but localStorage Data is not shared. I want to know a way other than "requestStorageAccessAPI".

  • Except how the user sets the config
Site A has C iframe and Site B has C iframe. When data is inserted from Site A's C iframe, there must also be data from Site B's C iframe, but the two repositories cannot share data due to Firefox's security policy. The recommended method in Mozilla for this issue is to use "requestStorageAccessAPI". However, when using the method, Cookie Data is shared, but localStorage Data is not shared. I want to know a way other than "requestStorageAccessAPI". * Except how the user sets the config

所有回覆 (4)

more options

You should post that question in the developer question forum not on the general Firefox help side here.

https://support.mozilla.org/en-US/kb/where-go-developer-support

more options

So if I understand what you are saying, "Total Cookie Protection" (dynamic First Party Isolation) causes this problem.

I think you probably need to communicate through the server when data changes in any of the frames so the other frames can be updated. This assumes that the server knows which frames are displaying in the same browser, which may be difficult if they do not have the same session token (i.e., if the user does not need to sign in).

more options

The question is above my pay grade but I have just noticed that there is a Permission in the Page Info window (ctl+i) Store data in persistent storage.

more options

Maybe look at the privacy.partition.* prefs on the about:config page.