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 #169

Open
royarisse opened this issue May 25, 2023 · 0 comments
Open

Autoconsent standard #169

royarisse opened this issue May 25, 2023 · 0 comments

Comments

@royarisse
Copy link

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 :)

--

For reference, see: https://github.com/ghostery/autoconsent/issues/39

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

1 participant