Dear Everything developer,
I am a user of your amazing search software Everything on Windows. I am using the latest test version 1.5 alpha, which has a built-in HTTP server for searching files using the HTTP protocol. For example, http://127.0.0.1/?search=cmd.exe will return the search results.
However, when I try to access the HTTP server from a userJS script in my browser, I encounter a CORS (Cross-Origin Resource Sharing) issue. This prevents me from using your software in my userJS script.
I would like to suggest that you modify the HTTP server to add the header Access-Control-Allow-Origin:* to the response. This will allow me to use your software in userJS without any CORS issue.
I think this would be a useful feature for many users who want to integrate Everything with their web applications or scripts.
Thank you for your consideration and your great work on Everything.
Sincerely, A happy user of Everything
(I am not very good at English, so I asked new Bing to help me translate the above content.)
Add Access-Control-Allow-Origin header to HTTP server response
Re: Add Access-Control-Allow-Origin header to HTTP server response
Thank you for your feedback meiercn,
To add Access-Control-Allow-Origin:* to your Everything HTTP Server header:
To add Access-Control-Allow-Origin:* to your Everything HTTP Server header:
- Exit Everything (File -> Exit)
- Open your %APPDATA%\Everything\Plugins-1.5a.ini with Notepad
- Under the [HTTP Server64.dll] section: (or [HTTP Server32.dll] section for the x86 plugin)
- Change the following line:
header=
to:
header=Access-Control-Allow-Origin:* - Save changes and restart Everything.