We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

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

Disable Same Origin Policy

  • 1 svar
  • 2 har dette problemet
  • 1 view
  • Siste svar av cor-el

more options

i have been trying to make something that uses HTTP get to get the content of something, but every time i do i get this error:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at (thing here). (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).

nothing i do seems to fix this so i would like to be able to disable this for a specific website (or in this case html file stored on my computer) how do i do this?

i have been trying to make something that uses HTTP get to get the content of something, but every time i do i get this error: Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at (thing here). (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). nothing i do seems to fix this so i would like to be able to disable this for a specific website (or in this case html file stored on my computer) how do i do this?

All Replies (1)

more options