hello friends! new(ish)!

Firefox

From InstallGentoo Wiki v2
Revision as of 01:23, 2 July 2023 by Sneak (talk | contribs) (pale moon isn't dead wtf)
Jump to navigation Jump to search
Cleanup.png
Cleanup.png
CLEANUP CANDIDATE
Relevant discussion may be found on the talk page. Reason: Add-ons section really outdated


Note: Try to keep this page up-to-date by updating the status of the extensions and patches.
Mozilla Firefox
NuFox.png
Type Free
Layout engine Gecko
Website https://www.mozilla.org/en-US/firefox/

Firefox is a free and open source web browser developed and maintained by the Mozilla Corporation which is owned by the Mozilla Foundation. It is known for its high degree of customizability through add-ons and its adherence to Web standards.

Official branches

Unfortunately, the v3.6.x series of Firefox is now unsupported. It will no longer receive security or stability updates. Please use Pale Moon for those olde-skool aesthetics.

Mozilla offers five officially compiled branches or channels of Firefox. These are Release, Beta, Dev Edition, Nightly, and ESR.

  • The Release branch of Firefox is geared towards the the average home or office Web user. It receives a major update every four weeks if all goes according to plan, but security and stability patches are issued as needed in the meantime.
  • The Beta branch of Firefox is geared towards home users who want to try new features a few weeks early while contributing to Firefox development. It is generally quite stable with most remaining bugs being specific to certain configurations or drivers. In the course of a typical six week beta run, there are between seven and thirteen builds released.
  • The Developer Edition or alpha branch of Firefox replaced the Aurora branch and is geared towards Web developers and includes extra development tools and a special theme. Some instability and bugs should be expected.
  • The Nightly or pre-alpha branch is intended for testing and debugging purposes. It represents the bleeding edge of Firefox development, so the likelihood of encountering instability, security vulnerabilities, and major bugs is high. As the name implies, Nightly typically receives patches on a day-to-day basis and new features as soon as they become ready.
  • The Extended support release or ESR branch of Firefox is geared towards large organizations who require long-term support for mass deployments, but it is can also be a good option for the technologically illiterate. It remains static for approximately one year after a major release, receiving new code only in the form of security and stability patches.

Regarding experimental features, Mozilla gives you the option to install an extension that allows you to enable them before they come enabled out of the box, if they ever make it to the stable branch. For more information, go to testpilot.com.

Notable forks

Due to the free and open source nature of its code base, Firefox has given rise to several forks.

  • GNU IceCat is a fork maintained by the GNU Project for those who happen to be of one mind with Richard Stallman. In addition to removing and replacing the copyrighted or trademarked parts of Firefox, the maintainer has added a couple of minor privacy and security features.
  • Pale Moon is a fork of Firefox ESR dedicated to providing an optimized Firefox with the classic user interface layout of the v3.6.x series and maintaining support for XUL. Pale Moon is offered in both 32-bit and 64-bit builds, and uses a fork of the Gecko rendering engine called Goanna. For a complete list of the differences between Pale Moon and Firefox, see this page. Note: it's made by a furry who has a fursona named Moonchild. He has art and has written furry stories. His furry website is here.
  • The Tor Browser Bundle is a package designed specifically to visit Onion sites and to browse the Internet through the Tor network.

Add-Ons

WebExtension support and legacy add-ons

Starting with Firefox 57, add-ons using XUL were no longer supported. Some browsers such as Pale Moon and SeaMonkey, however, preserve the support for these legacy add-ons. Luckily, the Pale Moon team have a working archive of (almost) all the legacy add-ons, which you can install and use as an add-on in the aforementioned browsers.

Tags

LegacyTag.png — Is a legacy add-on, and can only be used on a Firefox fork that supports legacy add-ons (Waterfox, Pale Moon, SeaMonkey). Can be downloaded using the Classic Add-ons Archive.

WebExt.png — Is a WebExtension Add-on. Can be run on any modern Firefox or Firefox fork (Including Waterfox, Pale Moon and SeaMonkey).

Notable add-ons

Note: some of these listed add-ons may overlap slightly. They are both listed for modularity. Some people like one thing, and some like the other or a third. Pick your poison.
Warning: With Firefox having a new addon engine with Version 57 and above, some of these addons may no longer work!

Adblocking, privacy, and security

LocalCDN.png LocalCDN WebExt.png

LocalCDN is an updated fork of Decentraleyes, emulates remote frameworks (e.g. jQuery, Bootstrap, AngularJS) and delivers them as local resource. Prevents unnecessary 3rd party requests to Google, StackPath, MaxCDN and more. Prepared rules for uBlock Origin/uMatrix.

MultiAccountContainer.png Multi Account Containers WebExt.png

Multi Account Containers is an extension by mozilla that lets you filter your browser's cookies into "groups".

ClearURLs.png ClearURLs WebExt.png

ClearURLs is a extension that automatically removes useless tracking elements from URLs

UBlock.png uBlock Origin LegacyTag.png WebExt.png

uBlock Origin is a lightweight and low-resource adblocker. Has many filter lists built in, with EasyList, Peter Lowe’s Ad server list, EasyPrivacy, and Malware domains enabled by default.

  • Can fully replace NoScript in advanced mode and outperform it, whilst offering more features.
  • Able to replace ClearURLs by adding LegitmateURLShortner list.
  • Not to be confused with 'uBlock', an EXTREMELY outdated fork with some very slight changes to the UI.
  • If you feel bad about blocking advertisements, make a deal with yourself: you'll stop blocking ads when major international internet companies stop serving malware.
  • Supports the WebExtensions API.

UMatrix.png uMatrix LegacyTag.png WebExt.png

uMatrix's fine-grained control

uMatrix, made by the creator of uBlock, is a high performance matrix-based firewall that supports hosts files, capable of blocking a myriad of objects, complete with per-hostname and global toggles, as well as plenty of privacy oriented features. Able to replace NoScript1, policeman, and request policy continued. Can be used with uBlock.

  • 1 - Cannot replace NoScript's surrogate script functionality (which is very, VERY rarely used anyway). uBlock has a similar feature called redirect, whose purpose is to redirect blocked resources to locally-hosted, neutered contents. Deprecated in support of uBlock Origin.

Customisability

Panorama View WebExt.png

Panorama View is a WebExt replacement for tab groups

Treestyletabs.png Tree Style Tabs LegacyTag.png WebExt.png

Tree Style Tabs shows tabs like a tree.

New Tab Homepage WebExt.png

New Tab Homepage will load your homepage whenever you open a new tab.

Stylus WebExt.png

Stylus lets you customise websites by setting custom CSS for them. It is a replacement for the previously recommended add-on Stylish, which was brought out by a company and is now spyware that steals browsing history and more.

OneLiner LegacyTag.png

OneLiner (also exists as "Liner") puts all the different bars at the top of the page, into a single bar (url, tabs, etc all on the same line). This can also be achieved with css.

Usability

FxIF.png WxIF WebExt.png

WxIF is a WebExt port of the legacy add-on FxIF. A tool to view EXIF data in image properties.

Greasemonkey.png Greasemonkey WebExt.png

Greasemonkey manages Userscripts.

ViolentMonkey.png Violentmonkey WebExt.png

Violentmonkey manages Userscripts as well as Greasemonkey.

Tampermonkey.png Tampermonkey WebExt.png

Tampermonkey manages Userscripts as well as Greasemonkey and Violentmonkey. The downside is that it is not Free Software.

Redirector.png Redirector WebExt.png

Redirector automatically redirects to user-defined urls on a per-hyperlink basis.

Vimfx.png VimFx LegacyTag.png

VimFx offers Vim bindings without changes in the UI.

Vimium-FF WebExt.png

Vimium-FF offers vim bindings via WebExt. However all WebExt extensions offering vim bindings are limited and will not work as well as they should (you will still need the mouse), due to how WebExt/nu-firefox works.

Other Vim Binding Options LegacyTag.png WebExt.png

There is a list on the vim wiki that goes over all the vim extensions/add-ons.

Notable patches

Bugs are explicitly stated.

OpenSUSE-KDE Active.png

This patchset makes trivial changes to Firefox to improve its aesthetic and functionality.

  • Adds KDE integration to Firefox.
  • Changes your general.useragent.locale to chrome://global/locale/intl.properties.
  • Adds higher resolution icons.

PGO Stalled.png

This simple patch enables Profile-Guided Optimization techniques for the GCC build. PGO builds consist of two passes: the first one builds instrumented binaries, and the second one to rebuild optimized binaries. It might result in a slight performance increase of roughly ~5%, for double the compilation time.

As it stands, the clang-pgo.patch may not be working.

Bugs

  • The Makefile.in file might not have the compile rule called pgo-profile-run1.
    • Solution: add the pgo-profile-run rule to the Makefile.in.

DNS over HTTPS and Encrytped SNI

How ESNI makes the internet opaque. Website support may vary.

Newer Firefox versions support DNS over HTTPS and Encrypted SNI. For an introduction to ESNI read this article from the EFF.

Upsides of DoH: Your ISP knows less about you.

Downsides of DoH: Your DNS resolver knows a lot more about you including your browser and operating system, and can set cookies. (Bet you didn't know).

To enable DoH:

  • Set network.trr.mode to 2.

DNS over HTTPS is an ESNI prerequisite.

For ESNI set network.security.esni.enabled to true.

[Test your configuration courtesy of CloudFlare]

Ricing

You can edit Firefox's appearance with CSS (Cascading Style Sheets). To be more general, you can alter ANY web page with CSS. This is achieved with the usage of userstyles. To use and take complete advantage of them, you need a userstyle manager. Stylus is the non-botnet version of Stylish that accepts the same scripts. A repository of userstyles can be found at userstyles.world.

Config

Below are options in about:config worth considering. Instead of doing this manually, consider visiting ffprofile to do this much easier and install extensions as well.

  • dom.storage.enabled FALSE - Disable "client-side session and persistent storage" cookies (bad for 8ch - the replies hyperlinks next to the post number disappears).
  • geo.enabled FALSE - Disable location data.
  • general.useragent.override - Create as a String value and insert your own useragent.
  • network.dns.disablePrefetch TRUE - Stop Firefox looking up IP addresses of links of the page you haven't/aren't going to.
  • network.http.pipelining TRUE - Possible speedup for some servers (send multiple files through one connection).
  • network.http.pipelining.max-optimistic-requests 8 - Total number of pipelines.
  • network.http.pipelining.ssl TRUE - Pipeline with HTTPS sites.
  • network.http.proxy.pipelining TRUE - Pipleline through proxy connections.
  • network.http.sendRefererHeader - 0 = never (bad for 8ch), 1 = domain only, 2 = full url (default).
  • network.prefetch-next FALSE - Don't download pages linked to the current page unless we click the link.
  • dom.event.clipboardevents.enabled FALSE - Don't allow webpages to mess with the clipboard.
  • dom.disable_window_move_resize TRUE - Don't allow webpages to move or resize the browser window.
  • dom.ipc.plugins.flash.subprocess.crashreporter.enabled FALSE - Don't report flash plugin crashes.
  • media.autoplay.enabled FALSE - Don't autoplay media.
  • media.peerconnection.enabled FALSE - Important for VPN users. Don't allow p2p downloading of media.
  • pdfjs.disabled TRUE - Don't run javascript within the builtin PDF viewer.
  • reader.parse-on-load.enabled FALSE - disable "reader view".
  • browser.pocket.enabled (or extensions.pocket.enabled) FALSE - disable pocket.
  • network.http.speculative-parallel-limit 0 - don't create connections to links you only hover over.
  • dom.push.connection.enabled FALSE - Disable push notifications (FF44+).
  • dom.push.enabled FALSE - (as above).
  • dom.webnotifications.enabled FALSE - (as above).
  • dom.webnotifications.serviceworker.enabled FALSE - (as above).
  • loop.enabled FALSE - Disable loop/conversation calling features.
  • browser.urlbar.unifiedcomplete FALSE - Disables the "Search With" popup when typing into the location bar.
  • media.ffmpeg.enabled FALSE (linux only as of FF44) - Disable mp4 playback through ffmpeg, to stop ffmpeg bugs breaking your Firefox.
  • media.eme.apiVisible FALSE - Stops pages from using a JavaScript library for DRM (Digital Rights Management/

Digital Restrictions Management) in html video.

  • media.eme.enabled FALSE - (as above).

For a privacy conscious user.js, study https://github.com/crisbrm/user.js for a user.js that comes with minimal breakage, or https://github.com/arkenfox/user.js for one with even more emphasis on security (occasionally at the cost of functionality, like when you completely disable DOM storage, for instance), and less emphasis on blending in.

To compare a myriad of privacy-conscious user.js files, use jm42's compare-user.js

External links