Go to file
2016-06-05 10:30:20 -04:00
bookmarkbackups Add base data 2016-05-23 19:22:39 -04:00
crashes Add base data 2016-05-23 19:22:39 -04:00
extension-data Remove bookmarks 2016-05-23 22:46:28 -04:00
extensions Added ublock origin 2016-05-23 22:13:53 -04:00
gmp-gmpopenh264/1.5.3 Add base data 2016-05-23 19:22:39 -04:00
webapps Add base data 2016-05-23 19:22:39 -04:00
.DS_Store Add base data 2016-05-23 19:22:39 -04:00
.gitignore Added some about:config tweaks 2016-05-23 22:12:52 -04:00
.parentlock Add base data 2016-05-23 19:22:39 -04:00
addons.json Added ublock origin 2016-05-23 22:13:53 -04:00
blocklist.xml Add base data 2016-05-23 19:22:39 -04:00
cert8.db Added ublock origin 2016-05-23 22:13:53 -04:00
compatibility.ini Added ublock origin 2016-05-23 22:13:53 -04:00
content-prefs.sqlite Add base data 2016-05-23 19:22:39 -04:00
cookies.sqlite Remove bookmarks 2016-05-23 22:46:28 -04:00
enumerate_devices.txt Add base data 2016-05-23 19:22:39 -04:00
extensions.ini Add base data 2016-05-23 19:22:39 -04:00
extensions.json Added ublock origin 2016-05-23 22:13:53 -04:00
formhistory.sqlite Add base data 2016-05-23 19:22:39 -04:00
key3.db Add base data 2016-05-23 19:22:39 -04:00
localstore.rdf Add base data 2016-05-23 19:22:39 -04:00
mimeTypes.rdf Add base data 2016-05-23 19:22:39 -04:00
permissions.sqlite Add base data 2016-05-23 19:22:39 -04:00
pluginreg.dat Add base data 2016-05-23 19:22:39 -04:00
prefs.js Remove bookmarks 2016-05-23 22:46:28 -04:00
README.md Add windows support 2016-06-05 10:30:20 -04:00
revocations.txt Add base data 2016-05-23 19:22:39 -04:00
search.json.mozlz4 Added some about:config tweaks 2016-05-23 22:12:52 -04:00
secmod.db Add base data 2016-05-23 19:22:39 -04:00
sessionCheckpoints.json Added some about:config tweaks 2016-05-23 22:12:52 -04:00
sessionstore.js Remove bookmarks 2016-05-23 22:46:28 -04:00
SiteSecurityServiceState.txt Remove bookmarks 2016-05-23 22:46:28 -04:00
times.json Add base data 2016-05-23 19:22:39 -04:00
xulstore.json Remove bookmarks 2016-05-23 22:46:28 -04:00

firefox-link

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

Installation

Mac

  • In a terminal, run
NAME=$RANDOM
if command -v wget 2>&1 >/dev/null; then
  wget https://austenwares.com/gogs/stonewareslord/firefox-link/archive/master.tar.gz -O /tmp/firefox-link.tar.gz
elif command -v curl 2>&1 >/dev/null; then
  curl https://austenwares.com/gogs/stonewareslord/firefox-link/archive/master.tar.gz -o /tmp/firefox-link.tar.gz
else
  echo "Can't find curl or wget"
  return 2
fi
mkdir -p "$HOME/Library/Application Support/Firefox/Profiles/$NAME"
cd "$HOME/Library/Application Support/Firefox/Profiles/$NAME"
tar xvf /tmp/firefox-link.tar.gz
egrep -q '\[Profile\d+\]' "$HOME/Library/Application Support/Firefox/profiles.ini"
if (( $? == 0 )); then
  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"
else
  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"
fi
'/Applications/Firefox.app/Contents/MacOS/firefox' -p

Linux

  • In a terminal, run
NAME=$RANDOM
if command -v wget 2>&1 >/dev/null; then
  wget https://austenwares.com/gogs/stonewareslord/firefox-link/archive/master.tar.gz -O /tmp/firefox-link.tar.gz
elif command -v curl 2>&1 >/dev/null; then
  curl https://austenwares.com/gogs/stonewareslord/firefox-link/archive/master.tar.gz -o /tmp/firefox-link.tar.gz
else
  echo "Can't find curl or wget"
  return 2
fi
mkdir -p ~/.mozilla/firefox/$NAME
cd ~/.mozilla/firefox/$NAME
tar xvf /tmp/firefox-link.tar.gz
grep -qP '\[Profile\d+\]' ~/.mozilla/firefox/profiles.ini 2>&1 >/dev/null
if (( $? == 0 )); then
  printf "\n[Profile$(expr 1 + $(cat ~/.mozilla/firefox/profiles.ini | grep -P '\[Profile\d+\]' ~/.mozilla/firefox/profiles.ini | tail -n1 | sed -e 's/\[Profile//' -e 's/\]//'))]\nName=firefox-link\nIsRelative=1\nPath=$NAME">>~/.mozilla/firefox/profiles.ini
else
  mkdir -p ~/.mozilla/firefox
  printf "\n[Profile0]\nName=firefox-link\nIsRelative=1\nPath=$NAME">>~/.mozilla/firefox/profiles.ini
fi
if command -v firefox 2>&1 /dev/null; then
  firefox -p
else
  firefox-bin -p
fi

Windows

  • In powershell, run
md $env:APPDATA\Mozilla\Firefox\Profiles
curl -outf "$env:APPDATA\Mozilla\Firefox\Profiles\tmp.zip" https://austenwares.com/gogs/stonewareslord/firefox-link/archive/master.zip
Add-Type -AssemblyName System.IO.Compression.FileSystem
[System.IO.Compression.ZipFile]::ExtractToDirectory("$env:APPDATA\Mozilla\Firefox\Profiles\tmp.zip", "$env:APPDATA\Mozilla\Firefox\Profiles\firefox-link")
del "$env:APPDATA\Mozilla\Firefox\Profiles\tmp.zip"
echo > "$env:APPDATA\Mozilla\Firefox\profiles.ini"
[General]
StartWithLastProfile=1
[Profile0]
Name=firefox-link
IsRelative=1
Path=Profiles/firefox-link
Default=1
 
& "C:\Program Files\Mozilla Firefox\firefox.exe"