2016-05-23 18:27:22 -04:00
|
|
|
# firefox-link
|
2016-05-23 22:42:19 -04:00
|
|
|
A sane default Firefox profile
|
|
|
|
- Comes with uBlock Origin
|
|
|
|
- Telemetry/error reporting disabled
|
|
|
|
- Yahoo/Bing search removed, Google set to default
|
|
|
|
- New tab page "Enhanced" mode disabled
|
2016-05-23 18:27:22 -04:00
|
|
|
|
2016-05-23 22:42:19 -04:00
|
|
|
## Installation
|
|
|
|
|
|
|
|
### For Mac
|
2016-05-23 19:20:36 -04:00
|
|
|
```bash
|
2016-05-23 19:30:56 -04:00
|
|
|
NAME=$RANDOM
|
2016-05-23 21:59:48 -04:00
|
|
|
git clone https://austenwares.com/gogs/stonewareslord/firefox-link "$HOME/Library/Application Support/Firefox/Profiles/$NAME"
|
|
|
|
egrep -q '\[Profile\d+\]' "$HOME/Library/Application Support/Firefox/profiles.ini"
|
2016-05-23 21:57:02 -04:00
|
|
|
if (( $? == 0 )); then
|
2016-05-23 21:59:48 -04:00
|
|
|
printf "\n[Profile$(expr 1 + $(cat "$HOME/Library/Application Support/Firefox/profiles.ini" | egrep '\[Profile\d+\]' | tail -n1 | sed -e 's/\[Profile//' -e 's/\]//'))]\nName=firefox-link\nIsRelative=1\nPath=Profiles/$NAME">>"$HOME/Library/Application Support/Firefox/profiles.ini"
|
2016-05-23 21:57:02 -04:00
|
|
|
else
|
2016-05-23 21:59:48 -04:00
|
|
|
mkdir -p "$HOME/Library/Application Support/Firefox/"
|
|
|
|
printf "\n[Profile0]\nName=firefox-link\nIsRelative=1\nPath=Profiles/$NAME">>"$HOME/Library/Application Support/Firefox/profiles.ini"
|
2016-05-23 21:57:02 -04:00
|
|
|
fi
|
2016-05-23 19:33:14 -04:00
|
|
|
'/Applications/Firefox.app/Contents/MacOS/firefox' -p
|
2016-05-23 18:27:22 -04:00
|
|
|
```
|