Skip to content
This repository has been archived by the owner on Sep 7, 2023. It is now read-only.

Slight confusion when adding searx to Firefox #1849

Closed
beermad opened this issue Feb 17, 2020 · 6 comments · Fixed by #1950
Closed

Slight confusion when adding searx to Firefox #1849

beermad opened this issue Feb 17, 2020 · 6 comments · Fixed by #1950

Comments

@beermad
Copy link

beermad commented Feb 17, 2020

Having set up a local instance of searx, I was attempting to add it to Firefox as the default search engine.
Although pointing my browser at localhost:8888 worked fine, after adding it to Firefox, the browser insisted on trying to use the default port 80, so went to localhost.
After much digging about, I fell upon the solution. In settings.yml, I had defined:

base_url : http://antwerp # Set custom base_url. Possible values: False or "https://your.custom.host/location/" (where antwerp is my local hostname).
Under the assumption that the port defined above this line was "taken as read". However, in order for Firefox to use the correct port, the line needs to be:
base_url : http://antwerp:8888 # Set custom base_url. Possible values: False or "https://your.custom.host/location/"

My suggestion: either the generated xml file should be created automatically with the port appended, or the comments in the default settings.yml file should make it clear that it needs to be added, to save other users having this problem.

@geckolinux
Copy link

geckolinux commented Feb 17, 2020

I have also noticed that many of the SearX public instances appear to not have that configured correctly, because the Firefox ... menu in the address bar offers the Add New Search Engine option for some instances but not others.

@beermad
Copy link
Author

beermad commented Feb 17, 2020

Another "feature" I'd forgotten about. Before setting the port in base_url, saving settings in the browser also then takes a user to the default port. Another reason to configure this correctly.

@colinner
Copy link

colinner commented May 19, 2020

I used a public instance and the "Install" link in the Searx /about page does nothing for me. The solution I found at StackOverflow for manually adding search engines is to use a site like http://ready.to/search/en which allows to set URL suffix and prefix manually that the browser will use to send your query. You could probably specify any port you like using this.

@return42
Copy link
Contributor

Searx supports OpenSearch, read my comment at #1616 (comment)

Is there anything more we can do for this issue?

@colinner
Copy link

Ah, I see it now, it seems the Firefox UI has changed since those screenshots were made.

I would suggest improving the procedure on the "/about" page under the heading "How to set as the default search engine?" for adding the search engine to Firefox. Maybe just explain that you click on the "..." in address bar. Currently, the "Install" link does nothing for me.

@return42
Copy link
Contributor

I would suggest improving the procedure on the "/about"

PR is already waiting for a review: #1950

A preview is available from my searx-next branch including #1950.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants