Last active
          October 23, 2021 20:13 
        
      - 
      
 - 
        
Save yauri-io/1b7815ea945b9e20463d8d0af886dc03 to your computer and use it in GitHub Desktop.  
Revisions
- 
        
yauri-io revised this gist
Oct 23, 2021 . 1 changed file with 6 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,8 +2,12 @@ // open browser console and execute the script // use your creativity to extend the script // list all Unfollow button, usually this will contain 6 - 15 buttons var buttons = document.querySelectorAll("[aria-label^='Following']"); for(var i = 0; i < buttons.length; i++) { buttons[i].click(); // click the Unfollow button // for clicking Unfollow button in dialog document.querySelector('[data-testid="confirmationSheetConfirm"]').click(); }  - 
        
yauri-io renamed this gist
Oct 23, 2021 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. - 
        
yauri-io created this gist
Oct 23, 2021 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ // open: https://twitter.com/{username}/following // open browser console and execute the script // use your creativity to extend the script var buttons = document.querySelectorAll("[aria-label^='Following']"); for(var i = 0; i < buttons.length; i++) { buttons[i].click(); document.querySelector('[data-testid="confirmationSheetConfirm"]').click(); }