containers-everywhere / contain-google

[Looking for maintainer] - Google Container isolates your Google activity from the rest of your web activity in order to prevent Google from tracking you outside of the Google website via third party cookies.
https://addons.mozilla.org/en-US/firefox/addon/google-container/
Mozilla Public License 2.0
411 stars 50 forks source link

Add google search-console to the list of domains #144

Open vimode opened 1 year ago

vimode commented 1 year ago

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