Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

requestStorageAccess() API

  • பதில்கள் இல்லை
  • 0 இந்த பிரச்னைகள் உள்ளது
  • 7 views

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

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.