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

Autoconsent standard #39

Closed
royarisse opened this issue May 24, 2023 · 2 comments
Closed

Autoconsent standard #39

royarisse opened this issue May 24, 2023 · 2 comments

Comments

@royarisse
Copy link

royarisse commented May 24, 2023

Not as much an issue, more a request.

I would like to suggest an autoconsent-standard that can be used by website-developers / cookie-consent developers.

Assume a website has the following code for the cookie-consent's "OK" button:
<a data-autoconsent="true">OK</a>

Then this could work as follows:

  1. This library looks for elements with a data-autoconsent attribute;
  2. If the library finds such an element, it fires a click-event;
  3. Website-owner implements a (javaScript) listener for the click event and closes the cookie-popup, assuming minimal (functional) cookies.

Perhaps a standard already exists, if so please let me know. I'm looking forward to your opinion :)

@philipp-classen
Copy link
Member

To the best of my knowledge there is no such standard yet. IMHO, it would be a good idea to have a standardize way that developers can opt-in; there is a shared incentive to avoid site breakage (both from website or cookie-consent developers and from content blockers). It would reduce complexity from the content blocker side (not having to re-engineer detection rules), and it would give more control to the developers of the website or framework to quickly fix some issues without having to wait until a fix lands.

Though I'm in favor, I fear our abilities to push for a standard that will get adoption is limited. Maybe a practical approach would be to start defining such a element in the page and then the auto-consent rules could migrate to that (for the individual site or the consent framework). If more websites or framework would adopt it, it would make sense to implement a detecting in the auto-consent library to automatically detect it (without manually creating a rule).

Would be worth discussing with member of the DuckDuckGo team. They are driving the development of the library and maintaining the rules (https://github.com/duckduckgo/autoconsent/).

cc @sammacbeth

@royarisse
Copy link
Author

Thanks for your quick response @philipp-classen, really appreciate it!
It's good to know I'm not the only one thinking this is a good idea.
I'll open an issue at DDGs repository to see if I can get more info there.
Thanks again :)

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