I know about CORS and what their purpose is.
However I don’t understand why it’s not safe for the browser to make an “anonymous” request to another domain: if you send an HTTP request without cookies and without authentication headers I don’t see any security issue. Why isn’t there any way to achieve that in JavaScript?
Example use case: the user inserts a link in a new post and you want to fetch a preview of that link (e.g. OpenGraph) without a backend (proxy server). Is there any way to fetch
that HTML page without CORS headers?