Skip to content
This repository has been archived by the owner on Jan 7, 2025. It is now read-only.

Add rule for meine.aok.de #542

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Add rule for meine.aok.de #542

wants to merge 2 commits into from

Conversation

Croydon
Copy link

@Croydon Croydon commented Nov 5, 2024

Successfully tested locally.

@Croydon Croydon requested a review from a team as a code owner November 5, 2024 21:42
Copy link
Member

@Trikolon Trikolon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry I don't think this rule works anymore. AOK might have updated their banner. Could you check again?

@Croydon Croydon changed the title Add rule for aok.de Add rule for meine.aok.de Dec 19, 2024
@Croydon
Copy link
Author

Croydon commented Dec 19, 2024

The rule works for https://meine.aok.de, the main site https://aok.de seems to use another cookie banner.

If I understood the rules of the list correctly, rules are always applied to the domain entirely, not to specific sub-domains. So how do I add several click rules for a single domain? Two rules objects for the same domain?

@Croydon
Copy link
Author

Croydon commented Dec 19, 2024

A tested rule for the main page of aok.de would be

    {
      "id": "2e422415-dd9f-41f5-ab70-663d734b00ec",
      "domains": ["aok.de"],
      "click": {
        "presence": "dialog[data-module='cookie-manager-dialog']",
        "optOut": "button[data-cookie-settings-manager='selectRequired']",
        "optIn": "button[data-cookie-settings-manager='selectAll']"
      }
    }

@Croydon
Copy link
Author

Croydon commented Jan 3, 2025

For my own reference: https://bugzilla.mozilla.org/show_bug.cgi?id=1789455

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

Successfully merging this pull request may close these issues.

2 participants