From Gamboge Parakeet, 1 Week ago, written in Plain Text.
  1. #!/bin/bash
  2. rm -rf ~/.mozilla/firefox/*
  3.  
  4. cat <<EOF>~/.mozilla/firefox/profiles.ini
  5. [Install$(mktemp -u XXXXXXXXXXXXXXXX)]
  6. Default=blank.default
  7. Locked=1
  8.  
  9. [Profile0]
  10. Name=default
  11. IsRelative=1
  12. Path=blank.default
  13. Default=1
  14.  
  15. [General]
  16. StartWithLastProfile=1
  17. Version=2
  18. EOF
  19.  
  20. (/usr/lib/firefox/firefox-bin &)&
  21. sleep 2s
  22. ps ux|awk '$11=="/usr/lib/firefox/firefox"{print $2}' \
  23.   | while read -r; do
  24.       kill -9 "$REPLY"
  25.     done
  26.  
  27. #sed -i 's/http:\/\/.*[^"]/"/g' ~/.mozilla/firefox/blank.default/prefs.js
  28. curl -sL https://raw.githubusercontent.com/ghacksuserjs/ghacks-user.js/master/user.js >~/.mozilla/firefox/blank.default/prefs.js
  29. rm -rf ~/.mozilla/firefox/blank.default/{datareporting,crashes,minidumps,permissions.sqlite}
  30. printf -- $'\0' | tee ~/.mozilla/firefox/blank.default/{datareporting,crashes,minidumps,permissions.sqlite}
  31. # SHUT. THE. FUCK. UP. DONNY.
  32. rm -rf ~/.mozilla/firefox/blank.default/{datareporting,crashes,minidumps,permissions.sqlite}
  33. touch ~/.mozilla/firefox/blank.default/x
  34. for bullshit in datareporting crashes minidumps permissions.sqlite; do
  35.   ln -sf ~/.mozilla/firefox/blank.default/x ~/.mozilla/firefox/blank.default/"$bullshit" 2<-
  36. done
  37. rm -f ~/.mozilla/firefox/blank.default/x
  38. (notify-send "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"&)&
  39.  
  40. /bin/firefox "$@"
  41.  
  42. exit
captcha