Re: [whatwg/fetch] Cross-Origin Read Blocking (CORB) (#681)

> # how disabled CORB ?

If you do it in safari it takes no time, Just enable the developer menu from Preferences >> Advanced, and select "Disable Cross-Origin Restrictions" from the develop menu. If you want local only, then you only need to enable the developer menu, and select "Disable local file restrictions" from the develop menu.

and in Chrome for OSX open Terminal and run:

`$ open -a Google\ Chrome --args --disable-web-security --user-data-dir`

> --user-data-dir required on Chrome 49+ on OSX

For Linux run:

`$ google-chrome --disable-web-security`
Also if you're trying to access local files for dev purposes like AJAX or JSON, you can use this flag too.

`-–allow-file-access-from-files`
For Windows go into the command prompt and go into the folder where Chrome.exe is and type

`chrome.exe --disable-web-security`
That should disable the same origin policy and allow you to access local files.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/681#issuecomment-427575448

Received on Saturday, 6 October 2018 13:52:02 UTC