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
This set of APIs is very unintuitive for both developers and users.
First is the name, which is actually more like getTabBindData and saveTabBindData than what it appears now.
Secondly, I understand that its function is actually to track tabs across origins, which means that it actually only needs an identifier like tabID, and any logic can be completed using the existing GM.*Value APIs.
And GM.*Value is isolated based on user scripts, but the current tabObj implementation is actually shared between user scripts, which means it can create conflicts and surprises.
I think we should do away the APIs in its current form, and just provide a privileged extensions API bridge similar to the getTabID or getTab(infos), with a clear warning to the user that this can be used to track tabs across origins.
This set of APIs is very unintuitive for both developers and users.
First is the name, which is actually more like
getTabBindData
andsaveTabBindData
than what it appears now.Secondly, I understand that its function is actually to track tabs across origins, which means that it actually only needs an identifier like
tabID
, and any logic can be completed using the existingGM.*Value
APIs.And
GM.*Value
is isolated based on user scripts, but the currenttabObj
implementation is actually shared between user scripts, which means it can create conflicts and surprises.I think we should do away the APIs in its current form, and just provide a privileged extensions API bridge similar to the
getTabID
orgetTab
(infos), with a clear warning to the user that this can be used to track tabs across origins.We should also reference APIs such as
sessions.setTabValue()
andsessions.getTabValue()
based on usage scenarios. (Currently not available in Safari)Originally posted by @ACTCD in quoid/userscripts#296 (comment)
Originally posted by @ACTCD in quoid/userscripts#667
The text was updated successfully, but these errors were encountered: