Skip to content
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

[Feature Request] Allow search redirects from google to other search engines #928

Open
TheInfamousAlk opened this issue May 18, 2024 · 8 comments
Labels
enhancement New feature or request

Comments

@TheInfamousAlk
Copy link

So some applications (like discord) have a feature that lets you highlight text and right click to "Search with Google". It opens up a new tab with a google search. There's no way in discord or other apps that do this to change the search provider. They just open a custom URL. I use Kagi. It would be nice if libredirect could parse the search phrase from one engine and redirect to another engine to fix this. There are a few options for "Search" in libredirect now, but it doesn't redirect in the way or to the places I would like, with configurable search engines.

@ManeraKai ManeraKai added the enhancement New feature or request label May 20, 2024
@IkelAtomig
Copy link
Member

@ManeraKai - Didn't we have Whoogle and Startpage and removed it. Do you remember the reason.

Not to stall this request, just collecting old insights and see if it's applicable or not.

@ManeraKai
Copy link
Member

@IkelAtomig
Copy link
Member

But Startpage extension, doesn't redirect. Wasn't it the point of the extension ?

@ManeraKai
Copy link
Member

For search engines, you don't need redirection. You can just have it as the default search engine in your settings. That's what the Startpage extension does I think. The time where you need proper redirection is when you have to redirect to a random instance (SearXNG, etc...). Even if you want to use a single SearXNG instance, you can just right click the address bar and click "Add to search engine" or something, without needing to rely on LibRedirect.

@IkelAtomig
Copy link
Member

If so, it wouldn't apply here because Kagi can be add from Search Bar.

@TheInfamousAlk
Copy link
Author

TheInfamousAlk commented Jun 9, 2024

For search engines, you don't need redirection. You can just have it as the default search engine in your settings. That's what the Startpage extension does I think. The time where you need proper redirection is when you have to redirect to a random instance (SearXNG, etc...). Even if you want to use a single SearXNG instance, you can just right click the address bar and click "Add to search engine" or something, without needing to rely on LibRedirect.

Normally you'd just search in the search bar, no redirection needed. This use-case is for applications that literally paste in a URL for a different search engine. Like my example above, Discord has a right click menu item when highlighting text "Search with Google". That opens google and searches for the highlighted text. What I'm asking for here is to detect when google (or another search engine) is being used, and take the search terms and put them in my search engine of choice using URL parsing.

I can use my search engine of choice normally, but sometimes I am given a direct link to a bad search engine that I wand redirected to a better one. Another example is "letmegooglethatforyou" (whichever version of that, there are several) forwards to google. I want it to... not do that. There are other applications that also use the "search with google" right click menu option, and they all have no way of changing google to something else. This is why I want this feature.

@IkelAtomig
Copy link
Member

IkelAtomig commented Jun 10, 2024

I see, you mean to redirect from the apps which force them into Google and such.

@TheInfamousAlk
Copy link
Author

Yes. Or any situation in which you'd end up with a google search, such as clicking directly on a link that is a google search, and translating it to a search in another engine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

3 participants