hello friends! new(ish)!
Firefox: Difference between revisions
>Owsum (Removed/swapped dead addons) |
>Millysoose m (→DNS over HTTPS and Encrytped SNI: more info) |
||
Line 189: | Line 189: | ||
Newer Firefox versions support DNS over HTTPS and Encrypted SNI. For an introduction to ESNI read [https://www.eff.org/deeplinks/2018/09/esni-privacy-protecting-upgrade-https this article from the EFF]. | Newer Firefox versions support DNS over HTTPS and Encrypted SNI. For an introduction to ESNI read [https://www.eff.org/deeplinks/2018/09/esni-privacy-protecting-upgrade-https 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: | To enable DoH: |
Revision as of 03:31, 30 July 2019
Mozilla Firefox | |
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 Foundation. It is known for its high degree of customisability 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.
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 six 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. Oddly, it is the only official branch in which native 64-bit builds for Windows are offered.
- 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.
- Iceweasel is a fork maintained by the Debian Project. It is designed to allow the project to back-port as it pleased without running afoul of Mozilla's trademarks.
- Pale Moon is a fork of Firefox ESR dedicated to providing an optimised Firefox with the classic user interface layout of the v3.6.x series. 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.
- Librefox Modern FF fork enhanced for privacy.
- Waterfox Maintains support for legacy addons and aims to be fast.
Tags
— Development process is very active.
— Development process is slow. Software is mature enough to warrant less frequent updates, unless it comes with a "buggy" tag.
— Software isn't updated regularly. Mostly fine unless it comes with a buggy tag.
— Comes with a significant amount of bugs, possibly due to slow, or non-existent development.
— Compatible with e10s. Lacking this tag means it is either incompatible with it, or that the extension has been shimmed. If it lacks an e10s tag, look in the database for your extension.
Notable add-ons
Adblocking, privacy, and security
Certificate Patrol discovers when certificates have changed. Currently no working download link. However they do have a site.
Decentraleyes loads common CDN resources locally, minimizing your exposure to third-party servers and slightly decreasing page load times, as well as the amount of data transferred.
HTTPS Everywhere encrypts your communications with many major websites, making your browsing more secure. If you can only install a couple of add-ons, this should be one of them.
HTTPS Finder detects available https and creates HTTPS Everywhere rules.
NoScript allows JavaScript, Java and other executable content to run only from trusted domains of your choice.
Random Agent Spoofer spoofs your user-agent string to any value of your choice, with the option to change to popular agent strings randomly. It also includes the ability to spoof various HTTP Referer request values, as well as multiple about:config tweaks.
Referer Controler controls what gets sent as the HTTP Referer on a per-site basis.
Self-Destructing Cookies auto-deletes cookies on tab close.
Multi Account Containers is a Firefox addon that uses part of the security model of Firefox OS to create sandboxed tabs and manage them. Updated infrequently and might be incompatible with certain addons.
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.
- 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, 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.
Customisability
Classic Theme Restorer offers extensive GUI options to make Firefox look like old Firefox.
Tab Groups allows you to create tab groups, a feature that was once part of Firefox.
Tree Style Tabs shows tabs like a tree.
Dev tools
Live HTTP Headers lets you view HTTP headers, and includes a generator and a filter.
Usability
FxIF is a tool to view EXIF data in image properties.
Greasemonkey manages Userscripts.
- The Scriptish fork of this add-on that was once popular on /g/ is no longer recommended.
Redirector automatically redirects to user-defined urls on a per-hyperlink basis.
Singing Stallman, the Singing Stallman icon bides its time in the toolbar, waiting to be invoked in your time of need.
VimFx offers Vim bindings without changes in the UI.
YouTube Center enhances YouTube. It is recommended that you use the developer version, as per their wiki.
Notable patches
Bugs are explicitly stated.
OpenSUSE-KDE
This patchset makes trivial changes to Firefox to improve its aesthetic and functionality.
- Adds KDE integration to Firefox.
- Changes your
general.useragent.locale
tochrome://global/locale/intl.properties
. - Adds higher resolution icons.
PGO
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.
Privacy
This patchset aims to disable certain Firefox 'features' that might undermine one's attempt at staying anonymous. In a way, it debloats it.
- Certain connections to Mozilla are removed.
- Disables: telemetry, location.services, sponsored tiles, Pocket, Hello, and Reader View.
- Applies certain privacy conscious settings to about:config by default.
- Enables tracking protection by default (disable if you use uBlock and/or uMatrix).
DNS over HTTPS and Encrytped SNI
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
to2
.
- Set
network.trr.uri
to a DoH compliant server such ashttps://mozilla.cloudflare-dns.com/dns-query
.
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. Stylish is the most common.
The Stylish button that appears after you install it is useful. For instance, to write a userstyle for Firefox, you need to go to:
chrome://browser/content/browser.xul
And select Write new style -> For this URL, and it'll have a template set up.
The most useful feature in writing userstyles is the Inspector. You pop it up by pressing Ctrl+Shift+C and it'll let you see what elements you can style on the page.
Config
Below are options in about:config worth considering.
- dom.storage.enabled FALSE - Disable "client-side session and persistent storage" cookies (bad for 8ch - the replies hypelinks 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/pyllyukko/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