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

Google's subdomains are getting treated as search pages #33

Closed
napca opened this issue Feb 13, 2022 · 2 comments
Closed

Google's subdomains are getting treated as search pages #33

napca opened this issue Feb 13, 2022 · 2 comments

Comments

@napca
Copy link

napca commented Feb 13, 2022

play.google.com , drive.google.com , and any other subdomain that isn't defined in libredirect ( translate.google.com is defined for example ) are getting treated as a search page

@ManeraKai
Copy link
Member

I think I've fixed this problem: https://github.com/libredirect/libredirect/blob/master/src/assets/javascripts/helpers/search.js#L6
This is a Regex code that detects which URLs are for search and which are not. You can use https://regex101.com/ and paste the Regex to test it. Be sure to select ECMAScript (JavaScript) as the Regex syntax:
image
We will release a new version soon 👍

@ManeraKai
Copy link
Member

@parsarch A new version was released https://github.com/libredirect/libredirect/releases/tag/v1.3.2. update your extension on Firefox and hopefully it will work.

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

No branches or pull requests

2 participants