-
Notifications
You must be signed in to change notification settings - Fork 26
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
Accept All by "OK" without setting "default" to "true" #24
Comments
indeed, it causes confusion to get around this problem I force the modal to load the page but it's intrusive |
@astoun @sede1971 As I'm not familiar with React I've used the following very hacky JS as a temp fix for this problem: var orejimeTimer = setInterval(function() {
if(typeof orejime !== 'undefined') {
clearInterval(orejimeTimer);
if(!document.cookie.match(/^(.*;)?\s*orejime\s*=\s*[^;]+(.*)?$/) && Object.keys(orejime.internals.manager.consents).length) {
var learnMoreButton = document.getElementsByClassName('orejime-Notice-learnMoreButton')[0];
learnMoreButton.addEventListener('click', function() {
document.getElementsByClassName('orejime-AppToggles-disableAll')[0].click();
});
var acceptAllButton = document.getElementsByClassName('orejime-Notice-saveButton')[0];
acceptAllButton.addEventListener('click', function() {
for(var i in orejime.internals.manager.consents) {
orejime.internals.manager.consents[i] = true;
}
orejime.internals.manager.saveAndApplyConsents();
});
}
}
}, 50); |
I have created a PR for this to get the ball rolling - #31 |
Hello @felixgirault can you confirm that the 2.0.0 version don't fix this issue ? |
Bonjour, A moins que j'ai raté quelque chose dans les paramétrages, je pense qu'il faudrait tout de même mettre en place cette option, pour être bon avec la RGPD. |
Hi @ThibaultS @Fabsgugu, |
Okay, I let some really huge mistakes make their way to v2. |
I'm closing the issue for now since the last version should be ok. |
I have found out, that this is not properly works with orejime.
After opening the website for the first time I see the small window with "Accept", "Decline" and "Learn more" buttons.
The Accept button turn on only apps which set to default:true.
But this is not GDPR compliant!
The Accept button (should actually be called "Accept all") should set to an "enabled" all apps.
I see that klaro has fixed it: klaro-org/klaro-js#118
Can we also have it on orejime?
Thank you!
The text was updated successfully, but these errors were encountered: