EXPORT-PREFS.md (906B)
1 # How to export all preferences in Firefox. 2 3 Since Mozilla hates you and all external developers, it is not easy to 4 find all preferences for future explorations. 5 6 Prequisites: 7 8 $ git clone git://bitreich.org/xml2tsv 9 $ cd xml2tsv 10 $ make && make install; 11 12 1. Go to »about:config«. 13 2. Go to devtools there and export the whole inner HTML of the preferences 14 tables. 15 3. Do xclip -o > all-prefs-raw.html. 16 4. cat all-prefs-raw.html | sed 's,<wbr>,,g' > all-prefs.html 17 5. 18 19 cat prefs-all.html \ 20 | xml2tsv 2>/dev/null \ 21 | '/tr/th\|/tr/td/span/span' 22 | cut -f 3- 23 24 5. 25 26 cat prefs-all-lines.txt \ 27 sed 's,https:.*,about:config,g' \ 28 sed 'sed 's,http:.*,about:config,g' \ 29 sed 's,wss:.*,about:config,g' \ 30 ./prefs-lines2js.sh > all-prefs-about-config.js 31 32 Now edit all-prefs-about-config.js to your needs and copy over to 33 user.js. 34 35 See how simple it is to customize Firefox! They really like users! 36 37