Skip to content

Want "Reject all" button to reject all cookies #259

Answered by orestbida
LokiDieKatze asked this question in Q&A
Discussion options

You must be logged in to vote

@LokiDieKatze,

in order to achieve a true reject all you need to set the readonly property to false, for each category defined inside each language.

Make sure that all defined toggle objects look like this:

toggle: {
    value: 'necessary',
    enabled: false,
    readonly: false          // cookie categories with "readonly: true" are all treated as "necessary cookies". change to false
}

The necessary category is generally used for critical cookies (non tracking) and services which are created/executed regardless of the user's choice. I'd recommend you to rename this category to something else (or completely remove it) if you don't need it.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@LokiDieKatze
Comment options

Answer selected by orestbida
Comment options

You must be logged in to vote
1 reply
@tillsanders
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants