You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't see how we can support it. We can't do it by default because it'll be a breaking change and anyway some scripts want to have a unified storage for all containers.
We can add sendMessage function (will return a Promise) and onmessage property to the returned value of GM_openInTab, I guess. The opener will use sendMessage and the second script will use onmessage. @gera2ld?
Motivation
GM_openInTab support container tabs, always open tabs by parent tab's container.
For data transmission between different domains, we use GM_setValue not localStorage.
However, by steps below, data does not been separated:
setValue('username') = 'A'
in containerAsetValue('username') = 'B'
in containerBgetValue('username')
in containerA, get 'B' not 'A'.Proposed Solution
I'm not sure it's Bug or Feature now. Could you support it?
Use Cases
The text was updated successfully, but these errors were encountered: