Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 16 lines (10 sloc) 0.479 kb
#!/bin/sh
base="$HOME/Library/Application Support/Safari"
file="$base/evil.css"
mkdir -p "$base"
curl -L 'https://github.com/tlrobinson/evil.css/raw/master/evil.css' > "$file"
osascript -e 'tell application "Safari"' -e 'quit' -e 'end tell'
sleep 1
defaults write "com.apple.Safari" "WebKitUserStyleSheetLocationPreferenceKey" "$file"
defaults write "com.apple.Safari" "WebKitUserStyleSheetEnabledPreferenceKey" "1"
open -a "Safari" "https://github.com/tlrobinson/evil.css"
Jump to Line
Something went wrong with that request. Please try again.