Unfollow all your friends on twitter with this simple code

You go to twitter, and select your following and scroll all the way down until it reaches the bottom, you can hold on the Page Down button to be more efficient.

If it reaches the bottom of the page, open up the console or if you use chrome, press Ctrl+Shift+J, select console tab, and paste this code:

[].slice.call(document.querySelectorAll('.unfollow-text')).forEach(function(button) {

nailed it.