# Firefox

A good default web browser. Functional. The host organisation, Mozilla, makes a reasonable attempt at arguing for user interests. AFAICS this only sometimes comes into conflict with the interests of their funding model. This is my default browser.

## Backspace for backspace not back-one-page

What an awful shortcut. In Firefox:

You can set the Integer pref browser.backspace_action to 2 on the about:config page to disable the backspace action

## Privacy

Various privacy-related tweaks are advisable. See browsing confidentially.

## Pro tips

mhoye notes some clever tab-management tricks.

There are a lot of other small navigation tricks that come in surprisingly handy:

• Holding down Alt while selecting text allows you to select text within a link without triggering the link
• Shift-right-click will show Firefox’s context menu even on sites that override it. This is great for Picture-In-Picture most video sites, and getting your expected context menu back from GDocs. (PiP is another feature I’m fond of.)
• Clicking and dragging down on the forward and back buttons will show a list of previous or next pages this tab has visited.
• You can use Ctrl-click and middle-mouseclick on most toolbar buttons to open whatever they point at in a new tab; Ctrl-reload duplicates your current tab. You can use this trick to pop stuff out of the middle of your back and forward history stack into new tabs.
• You can do this trick with the “view image” option in the right-click menu, too — Ctrl-clicking that menu item will open that image in its own new tab.
• New Tab then Undo — Ctrl-T then Ctrl-Z — will populate the address bar with the URL of the previously focused tab, and it’s useful to duplicate the current tab from the keyboard.
• You can right click an iframe and use the This Frame option to open the iframe in a tab of its own, then access the URL and other things.
• Ctrl+Shift+N will reopen the most recently closed window, Ctrl+Shift+T the most recently closed tab. The tabs are a history stack, so you can keep re-opening them.
• Knowing you can use Ctrl-M to mute a tab is invaluable.

## Searches

Firefox eschews this for a manual search installation on a per-site basis. It is particularly difficult to get Google Scholar search in Firefox, although not impossible, because it is missing the XML document that describes how to search.

One can, e.g. load the following XML search description document into Firefox.

<?xml version="1.0" encoding="UTF-8"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<Description>
search for scholarly literature.
</Description>
<Image height="16" width="16"
type="image/vnd.microsoft.icon">
http://etienne.gaudrain.eu/opensearch/scholar_16x16.ico
</Image>
<Image height="32" width="32"
type="image/vnd.microsoft.icon">
http://etienne.gaudrain.eu/opensearch/scholar_32x32.ico
</Image>
<Url
type="text/html"
</OpenSearchDescription>

mhoye notes some built-in general search tricks for firefox.

the spirit of the command line, in all its esoteric and hidden power, lives on in a few places in Firefox. Most notably in a rich set of Quantumbar shortcuts you can use to get around your browser state and history:

• Start typing your search with ^ to show only matches in your browsing history.
• * to show only matches in your bookmarks.
• + to show only matches in bookmarks you’ve tagged.
• % to show only matches in your currently open tabs.
• # to show only matches where every search term is part of the title or part of a tag.
• \$ to show only matches where every search term is part of the web address (URL). The text https:// or http:// in the URL is ignored but not file:///.
• Add ? to show only search suggestions.
• Hitting Ctrl-enter in the URL bar works like autocomplete; "mozilla" go straight to www.mozilla.com, for example. Shift-enter will open a URL in a new tab.

It’s sort of Quantumbar-adjacent, but once you’ve been using it for a few hours the Search Keyword feature is one of those things you just don’t go back to not having. If you right-click or a search field on just about any site, “Add a Keyword for this Search” is one of the options. give it a simple term or letter, then <term or letter> <search term> in the Quantumbar and you’re immediately doing that search. A lot of us have that set up for Bugzilla, Github, or Stack Overflow, but just about any search box on just about any site works. If you’re finding yourself searching particular forums, or anywhere search engines can’t reach, this is a fantastic feature.

## State management

Organising windows/tabs/bookmarks and possibly even syncing tabs/booksmarks/history/etc across devices.

Worldbrain Memex is a browser note-taking assistant which does fancy version of this.

For now I’m just synchronising groups of tabs. Ideally I would like an extension that that synchronises across all the browsers I use, i.e. mobile Safari, Firefox, Chrome.

I started with One Tab:

Whenever you find yourself with too many tabs, click the OneTab icon to convert all of your tabs into a list. When you need to access the tabs again, you can either restore them individually or all at once.

Sadly it’s closed-source abandonware. There are competitors, such as better-onetab, (Chrome/Firefox) and tabs-aside, which are also open source. I like better-onetab, which I have turned into a cross-browser sync via exporting to files and using file sync, so I gave the extension’s creator money.

A commercial option (free for beta) is : Toby. Looks neat but I wonder how much one should trust them with such intimate data as what you are browsing?