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

Configuring uBlock Origin to Bypass Cookie Notices #4166

Open
adam-the opened this issue Jul 9, 2024 · 1 comment
Open

Configuring uBlock Origin to Bypass Cookie Notices #4166

adam-the opened this issue Jul 9, 2024 · 1 comment

Comments

@adam-the
Copy link

adam-the commented Jul 9, 2024

The reason I need this is to access sites which redirect to a consent subdomain for cookie notices when using a European IP address. Yahoo is an example of a site which does this; I've seen others in the past.
Dismissing cookie notices would also be useful outside of my niche use-case.

A couple of solutions come to mind:

1. Configure uBlock Origin using Chromium's managed storage
Placing a file like below at /etc/chromium/policies/managed/ could work, but I'm not sure if Browserless would respect it?

{  "toAdd": {   "Value" : {  "selectedFilterLists": [  "fanboy-cookiemonster",  "ublock-cookies-easylist", "adguard-cookies", "ublock-cookies-adguard"  ]  }  }  }

2. Add Consent-O-Matic as an extension
I tried doing this and loading it with args: ["--load-extension=/usr/src/app/extensions/Consent-O-Matic"], but I think that the argument was ignored, or made redundant due to --load-extensions-except=... also being passed to Chromium.

3. Manually implement using network interception.
Probably a sound solution but I would rather use the provided uBlock Origin lists or another extension if possible.

Has anyone got any examples of doing something like this already, or any other ideas to achieve this?

@beeburrt
Copy link

Maybe this extension? https://github.com/RomanistHere/PopUpOFF

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

No branches or pull requests

2 participants