Privacy Badger is free ads/trackers blocker by EFF, It's pretty awesome
but native import/export function is not implemented yet, see Issue
issues about import/export or sync in Firefox and Chrome-family Extension
-
Enhancement: Heuristic Data portablity · Issue #121 · EFForg/privacybadgerchrome
-
Ability to export pBadger settings · Issue #146 · EFForg/privacybadgerchrome
-
Export/Import blocked domains · Issue #218 · EFForg/privacybadgerchrome
-
Please implement Chrome settings sync · Issue #645 · EFForg/privacybadgerchrome
manually backup setting file(s) by hand
inspect ID in about:addons
tab
<richlistitem xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" class="addon addon-view" name="Privacy Badger" type="extension" remote="false" status="installed" value="jid1-MnnxcxisBPnSXQ@jetpack" contextmenu="addonitem-popup" active="true"/>
value="jid1-MnnxcxisBPnSXQ@jetpack"
- ID:
jid1-MnnxcxisBPnSXQ@jetpack
- this extension made w/ Jetpack a.k.a Add-on SDK
- https://github.com/mozilla/addon-sdk
location syntax:
$HOME/.mozilla/firefox/<PROFLE_ID>/jetpack/<EXTENSION_ID>
i.e.
~/.mozilla/firefox/<PROFLE_ID>/jetpack/jid1-MnnxcxisBPnSXQ@jetpack
PROFILE_ID
is random, but perhaps XXXX.default
like this;
~/.mozilla/firefox/*.default/jetpack/jid1-MnnxcxisBPnSXQ@jetpack
$ # cd extension dir
$ PB_HOME=~/.mozilla/firefox/*.default/jetpack/jid1-MnnxcxisBPnSXQ@jetpack
$ LANG=C tree $PB_HOME
.
`-- simple-storage
`-- store.json
1 directory, 1 file
store.json
simple-store/store.json
is setting file
copy somewhere; e.g. $HOME
$ # cp store.json <DESTINATION>
$ cp -av $PB_HOME/simple-storage/store.json ~
beautify json in standard env, very convenient for diff
$ cat ~/store.json | python -m json.tool
$ # stdout settings w/ 4 space indent
if you want to backup w/ Dropbox, like this
$ mkdir -p ~/Dropbox/privacybadger/simple-storage/ # if needed
$ cat ~/store.json | python -m json.tool | tee ~/Dropbox/privacybadger/simple-storage/store.json
$ # no-error, done
$ OTHER_PROFLE_PB_HOME=~/.mozilla/firefox/<OTHER_PROFLE_ID>/jetpack/jid1-MnnxcxisBPnSXQ@jetpack
$ cp -av ~/store.json $OTHER_PROFLE_PB_HOME/simple-storage/store.json
IDKWTD, perhaps settings in DB and/or data file
~/.config/google-chrome/<PROFLE_DIR>/
~/.config/chromium/<PROFLE_DIR>/
~/.config/vivaldi/<PROFLE_DIR>/
default <PROFLE_DIR>
name is Default
testing
$ ag 'pkehgijcmpdhfbdbbnkijodmdjhbjlgp' *
$ ag -i 'privacy\-?badger' *
or
$ find . -print0 | xargs -0 strings -f | grep -i 'pkehgijcmpdhfbdbbnkijodmdjhbjlgp' | less