[New Interface] Twitter mass-unfollower

HisInfernal

Registered Member
Joined
Dec 4, 2012
Messages
78
Reaction score
12
Hello, everybody!
Since Twitter are having a new design which is breaking old-fashion way to unfollow.
Here is some useful script which will unfollow ALL users that you are following loaded in current window.
Just drop it into a console (F12 Developer Tab) and hit enter.

Code:
(()=>{const e=({seconds:e})=>new Promise(t=>{setTimeout(t,1e3*e)}),t=async()=>{const o=Array.from(document.querySelectorAll('[data-testid$="-unfollow"]'));0!==o.length&&(await Promise.all(o.map(async t=>{t.click(),await e({seconds:1}),document.querySelector('[data-testid="confirmationSheetConfirm"]').click()})),await e({seconds:2}),t())};t()})();

Hope will help.
 
Back
Top