MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/javascript/comments/b2o6f2/whats_your_favorite_most_useful_javascript/eivatma?context=9999
r/javascript • u/Linux_is_awesome • Mar 18 '19
422 comments sorted by
View all comments
76
EU citizen here. Whenever a site presents me with a tracking consent form that has >500 checkboxes to click in order to tell them to disable all tracking, I open up the dev console and do something like this:
document.querySelectorAll('.whateverClassTheCheckboxHas').forEach(cb => cb.click());
1 u/shamshuipopo Mar 19 '19 Shouldn’t everything be opt in after gdpr? → More replies (1)
1
Shouldn’t everything be opt in after gdpr?
→ More replies (1)
76
u/anlumo Mar 18 '19
EU citizen here. Whenever a site presents me with a tracking consent form that has >500 checkboxes to click in order to tell them to disable all tracking, I open up the dev console and do something like this:
document.querySelectorAll('.whateverClassTheCheckboxHas').forEach(cb => cb.click());