Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
uncheck twitter interests
var timer=100;document.querySelectorAll("div > input[type='checkbox']:checked").forEach((interest) => {setTimeout(function(){interest.click()},timer);timer+=2000;});
@eviltester

This comment has been minimized.

Copy link
Owner Author

eviltester commented Nov 25, 2019

If you just want code that you can paste into the console of your dev tools to deselect your Twitter interests then it is below (I paste it from a single line, but it is formatted here for readability and should work if copy and pasted) :

var timer=100;document.querySelectorAll(
"div > input[type='checkbox']:checked"
).forEach((interest) => {
setTimeout(function(){interest.click()},timer);timer+=2000;});

Instructions:

You will probably see some 500 errors in the console. You may need to wait a few minutes and repeat the script. Then revisit it a few hours later and may need to repeat the script again.

by default I've made the timer increment by 2 seconds because the payload grows everytime you uncheck an item. Feel free to amend the increment to match the current load and value you eperience on the site.

@TheMetalCode

This comment has been minimized.

Copy link

TheMetalCode commented Nov 25, 2019

You goddam hero! shakes fist at Twitter for assuming I'm deeply interested in every thing or person I have ever read a tweet about

In my experience I was getting consistent 500s that ultimately let to most of the checks sticking around upon refresh. Changing the interval from 100 to 1000 seemed to work better for me - not as many 500s, and the checks are actually gone at least for now.

@eviltester

This comment has been minimized.

Copy link
Owner Author

eviltester commented Nov 25, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.