1

I tried setting this flag to false, but it doesn't work...

security.fileuri.strict_origin_policy

I'm using Firefox Quantum 61.0.1

Any clue?

Regards

Flacid_Snake
  • 391
  • 2
  • 5
  • 16

1 Answers1

0

It doesn't work, because the fileuri configuration section is specifically for File URIs, and you are using an HTTP URI.

You need to either:

  • Load the HTML page your script is running in from the same origin
  • Figure out why your attempt to enable CORS failed
  • Install a browser extension to fake CORS support (these tend to be unreliable (especially when a preflight request is needed) and risks you opening yourself up to security issues on the WWW).
Quentin
  • 914,110
  • 126
  • 1,211
  • 1,335