Skip to content

Instantly share code, notes, and snippets.

@jashaj
Created June 1, 2018 06:17
Show Gist options
  • Select an option

  • Save jashaj/fb959c7ecc7e64b11be32e5cb570bdb3 to your computer and use it in GitHub Desktop.

Select an option

Save jashaj/fb959c7ecc7e64b11be32e5cb570bdb3 to your computer and use it in GitHub Desktop.
Tumblr consent screen: disable all trackers
/* Tumblr has more than 300 trackers in the consent screen and there's no disable all. https://www.tumblr.com/privacy/consent
You can uncheck the checkboxes with this script:*/
var labels = document.querySelectorAll('.binary-switch');
labels.forEach(function(label){
var checkbox = label.querySelector('input[type=checkbox]');
if(checkbox.checked){
label.click();
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment