4 ms·
Exactly my first question about this. A naiive search for "legitimate" in the repo shows 10 files [0] hard-coded into specific rules sets. Which I interpret a
by Mumps 3y ago
Exactly my first question about this.
A naiive search for "legitimate" in the repo shows 10 files [0] hard-coded into specific rules sets.
Which I interpret as: it's only available on those. Which is a real shame. I'm so damn sick of manually deselecting all of the hidden consent toggles :C
[0] https://github.com/search?q=repo%3Acavi-au%2FConsent-O-Matic%20legitimate&type=code https://github.com/search?q=repo%3Acavi-au%2FConsent-O-Matic...
- krono 3y agoWhat I usually do is to select a parent HTML element of the list of third parties using the browser's dev console and then use JS to find, loop, and click each of those toggles automatically in one go. The script would look something like this: $0.querySelectorAll('.thirdparty button.optoutToggle').forEach(({click}) => click()) Where $0 is an automatic reference to the selected parent element. The pseudocode/example string passed to querySelectorAll should be a selector (same syntax as selectors in CSS) to get each individual toggle element. Then forEach of those toggles it simulates a mouse click event. That said, whatever is on these websites isn't usually even worth all this effort and it doesn't always work.