oblador / hush

🤫 Noiseless Browsing – Content Blocker for Safari
https://oblador.github.io/hush/
MIT License
3.26k stars 79 forks source link

[Workaround / Idea] Automatically click "Reject All" for Google Search in Private (anonymous) Browsing #264

Closed neooleg closed 9 months ago

neooleg commented 1 year ago

Hi @oblador, thanks you for such a great product — hush!

Problem

According to the following issues — it seems there no strait forward way to handle Google's cookie banner as other banners w/o broking website:

Suggested Solution

What if:

  1. Find the "Reject All" button by XPath (IDs, classes might be dynamic, but the following XPath should remain constant):
image
  1. Click this button with code like:
document.getElementById('{button-id-found-by-xpath}').click();

@oblador, what do you think — might this work?

oblador commented 9 months ago

Hi, this won't work while also being 100% private as this extension aims to be. Any extension that does this could in theory track your browsing and obtain CC details etc, and would also by definition be slower. I know the tradeoffs, but for me personally I this is one of the main selling points, and there are a bunch of other alternatives that do the opposite for those that prioritise differently. Hope you understand! 👍

neooleg commented 9 months ago

Hi Joel,

I do understand and appreciate your response with such detail and the reasoning behind it 🙌

Best regards,

Oleg V.

On Sun, 21 Jan 2024 at 11:06, Joel Arvidsson @.***> wrote:

Hi, this won't work while also being 100% private as this extension aims to be. Any extension that does this could in theory track your browsing and obtain CC details etc, and would also by definition be slower. I know the tradeoffs, but for me personally I this is one of the main selling points, and there are a bunch of other alternatives that do the opposite for those that prioritise differently. Hope you understand! 👍

— Reply to this email directly, view it on GitHub https://github.com/oblador/hush/issues/264#issuecomment-1902577169, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMSDSIQ6QOEFNWHVWJQBJLYPTSCTAVCNFSM6AAAAAA6AMXQE2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBSGU3TOMJWHE . You are receiving this because you authored the thread.Message ID: @.***>