How to mass delete ALL twitter users you are following via Google Chrome

Step 1.

In Google Chrome, go to https://twitter.com/following

Step 2.

For PC hit Ctrl + Shift + J 
For Mac hit Cmd + Opt + J

Step 3.

Paste this code into the chrome console, hit enter, and wait for it to finish:

setInterval(
function()
{
	t=$(".Grid .Grid--withGutter").find(".user-actions-follow-button");
	for(i=0;true;i++)
	{
		if(i>=t.length)
		    {
			window.scrollTo(0,$(document).height());
			return
			}
			$(t[i]).trigger("click").remove()
	}
}
,2000
)
Tags: twitter