Git Product home page Git Product logo

geckoprefsexporter's Introduction

GeckoPrefsExporter

GeckoPrefsExporter.js is a Javascript snippet that exports preferences (application settings) from Gecko-based programs such as Firefox, SeaMonkey, Thunderbird, Pale Moon, and others. It can be executed in these applications via their Scratchpad. You may find this useful when:

  • The about:config interface doesn't suffice
  • You want to see both the user values and default values for prefs
  • You want pref data in a file so that you can diff it against another file, perform other analysis, and/or keep it for future reference. For example, comparing the prefs in one application or version to those in another.
  • You want to work with live data. For example, comparing prefs before and after an operation that may create new prefs and/or modify existing ones.

GPE provides several export formats (txt, csv, js, json), filtering, and other options which can optimize output for different tasks and work flows. Here are a few lines from a "txt" export:

<PREFNAME> • <STATUS> • <TYPE> • <VALUE> • <DEFAULTVALUE>
browser.feeds.showFirstRunUI • userset • boolean • false • <NODEFAULTVALUE>
browser.fixup.alternate.enabled • locked • boolean • false • false
browser.fixup.alternate.prefix • default • string • www. • www.
browser.fixup.alternate.suffix • default • string • .com • .com
browser.fixup.dns_first_for_single_words • locked • boolean • false • false
browser.fixup.domainwhitelist.localhost • default • boolean • true • true
browser.fixup.hide_user_pass • default • boolean • true • true

It also outputs stats which may be of interest:

numPrefs:              3068
numUsersetPrefs:         96
numDefaultPrefs:       2972
numLockedPrefs:           0
numBooleanPrefs:       1462
numIntegerPrefs:        798
numStringPrefs:         808
numLocalizedPrefs:       27
numNonAsciiPrefs:         2
numNonExtAsciiPrefs:      2
numHighCodePtPrefs:       0
numInvalidTypes:          0
numUnknownTypes:          0
numUserValues:         3068
numDefValues:          2995
maxPrefNameLen:          73
maxUserValueLen:       2761
maxDefValueLen:        2761
numIncByPrefilter:     3068
numExcByPrefilter:        0
incFilterMatches:       N/A
excFilterMatches:       N/A
numPrefsForExport:     3068

I'm not worrying about releases or versioning at this point. Every version checked in here should be functional and I would recommend that you use the latest. If you run into any problems please let me know.

Wiki

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.