3 ms·
What 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
by krono 4y ago
What 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.