Skip to content

Conversation

vimode
Copy link

@vimode vimode commented Oct 25, 2023

This PR adds a new domain to the list of Google Services and respects Ignore search pages option too that will cause a conflict because of this new addition.

search.google.com/search-console is a google services domain for webmasters
I didn't add it as search.google.com because that redirects to google homepage.

As per the current behavior any pathname that starts with /search will be included in ignore or allow list based on the user preference of Ignore search pages as the new domain's pathname starts with /search

So this fix to the isSearchpageURL makes sure that its
a) pathname exactly matches /search
b) has something in search params.

Closes #124

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

"Ignore search pages" also ignores Search Console

1 participant