Skip to content

Instantly share code, notes, and snippets.

@jspc
Created December 18, 2015 12:17
Show Gist options
  • Save jspc/50462f96f96407c6ba64 to your computer and use it in GitHub Desktop.
Save jspc/50462f96f96407c6ba64 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
# I have firefox pointing to socks on 9050; tor
COUNT=0
while true; do
((COUNT+=1))
echo "Opening url; iteration ${COUNT}"
firefox 'https://www.youtube.com/watch?v=vO4TXgUdf_c' &
PID=$!
sleep 20s
kill $PID
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment