Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is perfectly fine for trusted sites, and I've used it a lot in the past for a few, but it disables cors for everything, and that's a bit too much.

What I want is unrestricted access for my code, and that the sites keep the sandbox.

What I do nowadays is start a server that has basic auth and zero cors, that I can send commands to from my scripts, like, fetch me this resource without cors, or download this to this folder, etc.



I use the force-cors chrome extension. But I may be misunderstanding your use case.


what about `connect-src`




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: