2

I converted an extension from Chrome to Safari using:

xcrun safari-web-extension-converter

All works except for one thing: when trying to access the localStorage or sessionStorage from background script I get:

SecurityError: the operation is insecure.

It works in all other browsers (chrome, firefox, edge) - but not here. I hope that the solution is to turn on some flag in the xcode build settings and not to try and implement some native swift code - which I (and many other developers) will not do.

Any solution?

Nathan B
  • 1,625
  • 1
  • 17
  • 15

0 Answers0