Skip to content

Hide "reject all" and let me choose links/buttons if no external services are defined #551

@stefanrybacki

Description

@stefanrybacki

The problem

I only want to inform the visitor about technical necessary cookies without having external services yet.

Proposed solution

In case no external services are defined, hide reject/choose options in dialogs.

** Workaround **
Right now I am using a simple script that checks if klaroConfig.services is empty, and if so it adds a class to html, e.g. klaro-noexternalservices. Additionally I have a css rule that hides cn-decline and cn-learn-more if the class is available on html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions