Re: (forw) [DNG] Life After Firefox 56

Akkana Peck <[email protected]>
Newsgroups gmane.org.user-groups.linux.svlug
Message-ID <[email protected]>
Rick Moen writes:
(lots more useful and sad info about the upcoming extension change)

Quoting Rick Marti:
> > Firefox comes with a bunch of good privacy features that are turned
> > off by default, [ ... ]
> > The convenient way to enable the features (especially on small devices
> > where dinking with about:config is a pain) is to make an extension
> > that just sets the preferences you care about (and restores them to
> > the defaults on uninstall if the user didn't change them manually).

If you just need to set preferences to fixed values, there's another
easy way: create a file called user.js in the config directory (the
same place prefs.js lives). user.js overrides prefs.js, so it's a
good way to force preferences that you think might get reset when you
don't expect it. Syntax is like this (or copy lines out of prefs.js):

// Image animation: normal, once, none
user_pref("image.animation_mode", "none");

// Custom newline handling:
//   0. Paste newlines intact (old linux default)
//   1. Paste up to the first newline
//   2. Replace newlines with spaces (ff3 default, old win default)
//   3. Strip newlines
//   4. Replace with commas
//   5. Strip newlines and surrounding whitespace 
user_pref("editor.singleLine.pasteNewlines", 2);

... and so forth. Of course, you have to know the name of the pref
and what the allowed values are, but you can usually find that in
a web search.

Though it will be sad not to be able to toggle preferences from the
UI, like the extensions that let you briefly allow animated images
if there's a particular image you want to see but otherwise don't
want annoying things flashing at you while you're trying to read.

        ...Akkana
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.