hello friends! new(ish)!
Firefox: Difference between revisions
>Iwakura Lain mNo edit summary |
>Iwakura Lain mNo edit summary |
||
Line 186: | Line 186: | ||
[[File:ViolentMonkey.png|48px]] '''Violentmonkey''' | [[File:ViolentMonkey.png|48px]] '''Violentmonkey''' | ||
[https://addons.mozilla.org/firefox/addon/violentmonkey/ Violentmonkey] manages [[Browsers#Recommended_User_Scripts | Userscripts]] as well as Greasemonkey. | [https://addons.mozilla.org/firefox/addon/violentmonkey/ Violentmonkey] manages [[Browsers#Recommended_User_Scripts | Userscripts]] as well as Greasemonkey. | ||
Revision as of 20:30, 3 April 2020
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 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.
- 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.
Add-Ons
Controversy and WebExtension Add-onpocalypse
In 2014, Brendan Eich the then CEO of the Mozilla Corporation (the for-profit entity that develops the Firefox browser), had been found to have donated $1000 to a proposition around banning same-sex marriage in California. Some employees of the Mozilla Foundation (the non-profit entity that decides the changes around the Firefox browser, which ironically Brendan Eich helped create) were upset with this, and did what they normally do; blog posts, activism and calling for Brendan to resign. That same year, Brendan did resign, but not without saying that he stands by his donation to ban same-sex marriage.
Since then, Firefox has been heading downhill fast. Current development of Firefox involves pushing it to become as much of a Google Chrome clone as possible. Performance has gotten worse, bloat has been added, the theme has become closer to chrome and the ability to rice it to autistic levels has been threatened. Trackers have been added, including screen recording software and for some reason it now also has its own instant message chat built into the browser. However probably the worst of them all was the WebExtension Add-onpocalypse.
The drop of support for legacy add-ons made every single add-on that had been developed, incomparable with Firefox. This was obviously controversial, but it wasn't enough. They also dropped every legacy add-on's page, so even if you made a way to support legacy add-ons, you wouldn't be able to find any.
Some browsers such as Pale moon, Waterfox and SeaMonkey, however, preserve the support for these legacy add-ons. Luckily, the Pale Moon and Waterfox Team have a working archive of (almost) all the legacy add-ons, which you can install and use as an add-on in the mentioned browsers.
As for what Brendan Eich is doing; he decided he wasn't done with the browser game, and is now the CEO of a company that is developing a browser called Brave, which is basically just a browser with cypto attached to it.
Tags
— 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.
— Is a WebExtension Add-on. Can be run on any modern Firefox or Firefox fork (Including Waterfox, Pale Moon and SeaMonkey).
Notable add-ons
Adblocking, privacy, and security
BetterPrivacy manages and auto-destroys flash cookies, aka super cookies. If you don't have flash (which is likely unless you love newgrounds or /f/) then you have no need for this addon.
Blender automatically spoofs your user agent string to another popular one.
Certificate Patrol discovers when certificates have changed.
Cookie Monster manages cookies permissions. Its function can be replaced by uMatrix.
Cookie Autodelete is a webExt replacement for Cookie Monster.
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.
Random Agent Spoofer is a potential webExt replacement for Random Agent Spoofer
RefControl controls what gets sent as the HTTP Referer on a per-site basis.
Referer Controler webExt replacement for RefControl.
Priv8 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.
Multi Account Containers successor to Priv8.
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
Tab Groups allows you to create tab groups, a feature that was once part of Firefox.
Panorama View is a WebExt replacement for tab groups
Tree Style Tabs shows tabs like a tree.
New Tab Homepage will load your homepage whenever you open a new tab.
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 (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.
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.
Violentmonkey manages Userscripts as well as Greasemonkey.
Tampermonkey manages Userscripts as well as Greasemonkey and Violentmonkey. The downside is that it is not Free Software.
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