-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom Search Engines #8
Comments
Hi @JesFEREM, that's a great idea and definitely should be implemented! It would also help keep the "default" list of permissions smaller and avoid having to update the SearX(NG) instances manually. Since this will take a bit longer to implement (there are some rather big changes needed, such as restructuring the way settings are stored), for now I've published a minor release updating the SearX(NG) instances (including your friend's ;). I'll leave the issue open until it's implemented, and get back to you then. |
Hi back @JesFEREM. After digging a bit into the matter, I've got to know that optional permissions must be declared in the This, unfortunately, makes this feature unable to be implemented in this way, since the manifest cannot be modified programmatically. I've been also taking a look at the example you gave, and the search engine URLs are hardcoded in I can see three ways to work around this:
Unfortunately, since we capture the bangs from the URL by looking e.g. at the query parameters, options 1 and 3 will lead to accidental triggers since there are plenty of non-search sites using these parameters. Which takes us back to the beginning: the necessity to hardcode the search engine sites (option 1). Long story short, I do not see a way of implementing this, but do please let me know if you have any ideas. Update:
|
I want to use a search engine self hosted by a friend of mines which is searx.absturztau.be
it would be cool to add an optional permission to intercept links from any site of your choice
Here's an example from Extension UBlacklist
The text was updated successfully, but these errors were encountered: