requestStorageAccess() API
Hi,
I'm working on a website which uses third-party cookies for user login. But, recently, firefox has made Total Cookie Protection default making third-party cookies obsolete. To gain access to unpartitioned cookie jar, the documentation (https://developer.mozilla.org/en-US/docs/Web/API/Document/requestStorageAccess) tells that we have to call requestStorageAccess() API on a "user generated event". With this as a limitation, I have to add an additional button to create an user generated event. This is affecting my website's user experience.
Is there a way / hack to call this API without an user generated event like a button click.
Thanks in advance
Hi,
I'm working on a website which uses third-party cookies for user login. But, recently, firefox has made Total Cookie Protection default making third-party cookies obsolete. To gain access to unpartitioned cookie jar, the documentation (https://developer.mozilla.org/en-US/docs/Web/API/Document/requestStorageAccess) tells that we have to call requestStorageAccess() API on a "user generated event".
With this as a limitation, I have to add an additional button to create an user generated event. This is affecting my website's user experience.
Is there a way / hack to call this API without an user generated event like a button click.
Thanks in advance