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 characters
// 1. Go to your Following page. Mine would be https://twitter.com/nytr0gen_/following | |
// 2. Run this script in the Console. Change maxUnfollows to anything you want. | |
// 3. Check in from time to time and run it again if it fails. | |
sendUnfollow = () => document.querySelector('[data-testid=UserCell] [data-testid*=unfollow] span span').click(); | |
confirmUnfollow = () => document.querySelector('[data-testid=confirmationSheetConfirm] span span').click(); | |
sleep = ms => new Promise(r => setTimeout(r, ms)); | |
i = 0; | |
maxUnfollows = 1000; |
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 characters
#!/bin/bash | |
version=$(curl -s https://portswigger.net/burp/releases | grep "Professional / Community" | head -n1 | grep -E "[0-9\.]+" -o) | |
if [[ -d ~/Applications/BurpSuite.app ]]; then | |
local_version=$(cat ~/Applications/BurpSuite.app/Contents/Resources/version.txt) | |
if [[ "$version" == "$local_version" ]]; then | |
echo "Latest version is $version - which is the same as the local" | |
exit 1 | |
fi |
OlderNewer