Cross-search query for local file
2 answers
If you are using chrome try this extension
CORS allows web applications in one domain to make AJAX requests on a cross-domain to another domain. It's dead just to be included, but only one response header is required to be sent by the server.
What this extension does is add a response header rule - Access-Control-Allow-Origin: *
You can do it manually as well by submitting a response header.
For simple CORS requests, the server needs to add the following header to the response:
Access-Control-Allow-Origin: *
Read this one for more information.
-2
source to share