Skip to content

Instantly share code, notes, and snippets.

@dhwthompson
Created October 24, 2011 21:32
Show Gist options
  • Save dhwthompson/1310379 to your computer and use it in GitHub Desktop.
Save dhwthompson/1310379 to your computer and use it in GitHub Desktop.
Flash cookie enable script
#!/bin/bash
set -e
cd ~/Library/Preferences/Macromedia
chmod u+w .
echo "Hit Return to disable Flash cookies again..."
read
srm -sr 'Flash Player' .DS_Store 2>/dev/null
chmod u-w .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment