We are still actively working on the spam issue.

Difference between revisions of "Chromium"

From InstallGentoo Wiki
Jump to: navigation, search
m (Tracking Details)
(tagged properly)
 
(66 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Cleanup|Organization, etcetera}}
+
{{note|try to keep this page up-to-date by updating the status of the extensions and patches.}}
 +
{{Browser Infobox
 +
|name= Chromium
 +
|image= [[file:Software_Chromium.png|64px]]
 +
|type= Free
 +
|layout= Blink
 +
}}
 +
'''Chromium''' is a free and open source Web browser developed by Google and other contributors. It is known for its extremely fast JavaScript engine, multi-process security model, and rapid development cycle.
  
[[File:Software_Chromium.png|thumb|right|The Chromium Icon]]
+
When it was initially released, Chromium was vastly superior to other major browsers in terms of performance, but this advantage gradually diminished in the years following its release as the other browsers caught up. Today, Chromium maintains an edge in JavaScript performance, security, and UI responsiveness.
  
Chromium is a free and open source Web browser developed by Google and other contributors. It is known for its extremely fast JavaScript engine, multiprocess security model, and rapid development cycle.
+
Recently, Google forked the Apple-controlled WebKit project to give Chromium its own layout engine: Blink.
 
 
When it was initially released, Chromium was vastly superior to the other major browsers in terms of performance, but this advantage gradually diminished in the years following its release as the other browsers caught up. Today, Chromium maintains an edge only in JavaScript performance and UI responsiveness.
 
 
 
Recently, Google forked the Apple-controlled Webkit project to give Chromium its own layout engine, Blink.
 
  
 
== Google Chrome ==
 
== Google Chrome ==
  
[[File:Chrome.png|thumb|right|The Google Chrome Icon]]
+
[[File:Chrome.png|thumb|The Google Chrome icon]]
  
 
Google Chrome is a proprietary sister project of Chromium developed by Google.  
 
Google Chrome is a proprietary sister project of Chromium developed by Google.  
Line 17: Line 20:
 
In addition to Chromium's usual set of features, it packages Google's 'Pepper' Flash plug-in, a Foxit-based in-line PDF reader, an automatic updater, and several controversial tracking capabilities. Due to the latter, it is commonly accused of being a [[botnet]] by the more security-conscious participants on /g/, [[Welcome to the Botnet|'''for good reason''']].
 
In addition to Chromium's usual set of features, it packages Google's 'Pepper' Flash plug-in, a Foxit-based in-line PDF reader, an automatic updater, and several controversial tracking capabilities. Due to the latter, it is commonly accused of being a [[botnet]] by the more security-conscious participants on /g/, [[Welcome to the Botnet|'''for good reason''']].
  
=== Official Release Channels ===
+
=== Official release channels ===
  
 
* Stable is targeted at most home and office users;
 
* Stable is targeted at most home and office users;
Line 36: Line 39:
 
* '''''Google update:''''' data concerning the user's Chrome usage, operating system details, and Chrome version is transmitted to Google periodically. This feature is non-optional.
 
* '''''Google update:''''' data concerning the user's Chrome usage, operating system details, and Chrome version is transmitted to Google periodically. This feature is non-optional.
  
== Notable Forks ==
+
== Notable forks ==
 +
=== Iridium ===
  
=== Comodo Dragon ===
+
[https://iridiumbrowser.de/ Iridium] is a FOSS fork of Chromium developed with security and privacy in mind. It generally uses the same Chromium version as ''Chrome stable''. For a list of differences between it and Chromium, see [https://github.com/iridium-browser/iridium-browser/wiki/Differences-between-Iridium-and-Chromium this].
  
Comodo Dragon is a proprietary fork of Chromium developed by Comodo.
+
=== Sleipnir ===
  
=== SRWare Iron ===
+
[http://www.fenrir-inc.com/us/sleipnir/ Sleipnir] is a proprietary, Windows/OSX exclusive fork whose sole purpose is to fix Chromium's broken font rendering on Windows.
  
SRWare Iron is a proprietary fork of Chromium developed by SRWare.
+
===ungoogled-chromium===
http://neugierig.org/software/chromium/notes/2009/12/iron.html
 
  
== Extensions ==
+
[https://github.com/Eloston/ungoogled-chromium ungoogled-chromium] is a Chromium fork built with privacy as a top priority, with Google's privacy invading aspects stripped out of the browser. It's free and open source, leveraging some patch sets from the Iridium browser. It has taken off rather quickly on /g/ and no one is wasting their time meming it. The only real drawback is that extensions cannot be installed automatically from the Chrome Web Store, requiring you download the .crx file and then drag it into chrome://extensions to install it. A workaround is to install a userscript that adds the option to download the .crx file from the Chrome Web Store.
  
=== Installing Extensions ===
+
Currently, it has native binary builds for Linux, Mac OS X and Windows.
  
Certain extensions demand that the user login to a Google account to install them from the Chrome Web Store, but a workaround exists. The major weakness of this workaround is that the extension cannot be automatically updated. If you are not willing to manually update the extension in question, your options are either living without it or switching to another browser.
+
== Tags ==
 +
[[File:Active.png|x14px]] — Development process is active.
  
* In this example, we will be using the Google Drive extension (https://chrome.google.com/webstore/detail/google-drive/apdfllckaahabafndbhieahigkjlhalf), but you can substitute it with any extension you prefer.
+
[[File:Slow.png|x14px]] — Development process is slow. Software is mature enough to warrant less frequent updates, unless it comes with a "buggy" tag.
* Examine the URL of the extension that you wish to install and locate its ID. The ID is the apparent gibberish following the extension's name in the URL. In our example, it happens to be ''apdfllckaahabafndbhieahigkjlhalf''.
 
* Once you have located the ID, insert it in place of the bracketed statement in the following URL.
 
* <nowiki>https://clients2.google.com/service/update2/crx?response=redirect&x=id%3D[Your ID Goes Here]%26uc</nowiki>
 
* In our example, the final URL is: https://clients2.google.com/service/update2/crx?response=redirect&x=id%3Dapdfllckaahabafndbhieahigkjlhalf%26uc
 
* Now that we have our URL, we must open it in a new tab and save the offered CRX file to a convenient location.
 
* Unfortunately, the file will not work for us as is, since we are not installing from the Chrome Web Store.
 
* To work around this problem, we must extract the contents of the CRX file to a folder with an archiver like 7zip.
 
* Once we have extracted the archive, we must enable 'developer mode' on our extensions page and load the folder as an unpacked extsion.
 
* Provided the everything went according to plan, we should have have a working extension.
 
  
=== Notable Extensions ===
+
[[File:Stalled.png|x14px]] — Software isn't updated regularly. Mostly fine unless it comes with a buggy tag.
  
''There seem to be many extensions for Chromium that claim to block advertisements. The one listed here is what /tech/ recommends.''
+
[[File:Buggy.png|x14px]] — Comes with a significant amount of bugs, possibly due to slow, or non-existent development.
* [https://chrome.google.com/webstore/detail/apng/ehkepjiconegkhpodgoaeamnpckdbblp?hl=en APNG] - For those who want to seek enlightenment to the open source masterrace animated PNG. Good for when you go to the [https://8ch.net/apng few corners of the web] that actually use these things.
 
* [https://chrome.google.com/webstore/detail/chromium-updater/ccgjmadhdidfloacagcnnodbkedkjedg Chromium Updater] - This extension allows Windows and GNU/Linux users to conveniently identify, download, and install the latest Chromium build. It may not be as seamless or convenient as the automatic updates in Comodo Dragon and Google Chrome, but it does get the job done. Obviously, it should only be used with Chromium.
 
*[https://chrome.google.com/webstore/detail/editthiscookie/fngmhnnpilhplaeedifhccceomclgfbg/related?hl=en EditThisCookie] - Great cookie manager for Chromium.
 
  
[[File:Httpseverywhere.png|48px]] '''HTTPS-Everywhere'''
+
== Notable extensions ==
 +
=== Adblocking, privacy, and security ===
 +
[[File:Editthiscookie.png|48px]] '''EditThisCookie''' [[File:Stalled.png|x14px]]
 +
 
 +
[https://chrome.google.com/webstore/detail/editthiscookie/fngmhnnpilhplaeedifhccceomclgfbg/related?hl=en EditThisCookie] is a great cookie manager for Chromium.
 +
 
 +
[[File:Httpseverywhere.png|48px]] '''HTTPS-Everywhere''' [[File:Active.png|x14px]]
  
 
[https://chrome.google.com/webstore/detail/https-everywhere/gcbommkclmclpchllfjekcdonpmejbdp HTTPS Everywhere] is maintained by the Electronic Frontier Foundation. It forces supported sites to prefer secure connections. This does occasionally cause problems, so the option to enable or disable the extension on a per-site basis is included.
 
[https://chrome.google.com/webstore/detail/https-everywhere/gcbommkclmclpchllfjekcdonpmejbdp HTTPS Everywhere] is maintained by the Electronic Frontier Foundation. It forces supported sites to prefer secure connections. This does occasionally cause problems, so the option to enable or disable the extension on a per-site basis is included.
  
* [https://chrome.google.com/webstore/detail/pdf-viewer/oemmndcbldboiebfnladdacbdfmadadm PDF Viewer] - This extension adds PDF.js, the free and open source HTML5 PDF reader found in Firefox, to Chromium.
+
[[File:uBlock.png|48px]] '''uBlock Origin''' [[File:Active.png|x14px]]
* [https://chrome.google.com/webstore/detail/stylish/fjnbnpbmkenffdnngjfgmeleoegfcffe Stylish] - This extension allows the user to apply custom visual styles to Websites, internal browser pages, and more.
 
* [https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo Tampermonkey] - This extension adds a proper user script manager to Chromium. While it is certainly possible to install user scripts as Chromium extensions without this extension, it makes managing them much more convenient.
 
 
 
[[File:uBlock.png|48px]] '''uBlock Origin'''
 
  
 
[https://chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm?hl=en 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.
 
[https://chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm?hl=en 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.
Line 85: Line 79:
 
*If you feel bad about blocking advertisements, make a deal with yourself: you'll stop blocking ads when major international internet companies stop [http://uk.businessinsider.com/yahoos-advertising-network-is-being-targeted-by-hackers-malwarebytes-says-2015-8?r=US&IR=T serving]  [https://blog.malwarebytes.org/malvertising-2/2015/08/large-malvertising-campaign-takes-on-yahoo/ malware].
 
*If you feel bad about blocking advertisements, make a deal with yourself: you'll stop blocking ads when major international internet companies stop [http://uk.businessinsider.com/yahoos-advertising-network-is-being-targeted-by-hackers-malwarebytes-says-2015-8?r=US&IR=T serving]  [https://blog.malwarebytes.org/malvertising-2/2015/08/large-malvertising-campaign-takes-on-yahoo/ malware].
  
[[File:uMatrix.png|48px]] '''uMatrix'''
+
[[File:Ws.png|48px]] '''uBlock Origin Extra''' [[File:Active.png|x14px]]
 +
 
 +
[https://chrome.google.com/webstore/detail/ublock-origin-websocket/pgdnlhfefecpicbbihgmbmffkjpaplco uBlock Origin Extra] is a companion extension for Chromium-based browsers to expose websocket connections to uBlock Origin, and in that way overcome Chrom*'s extension API limitations.
 +
 
 +
[[File:uMatrix.png|48px]] '''uMatrix''' [[File:Slow.png|x14px]]
  
 
[[File:matrix.png|thumb|uMatrix's fine-grained control]]
 
[[File:matrix.png|thumb|uMatrix's fine-grained control]]
  
[https://chrome.google.com/webstore/detail/umatrix/ogfcmafjalglgifnmanfmnieipoejdcf?hl=en uMatrix], made by the creator of uBlock, uMatrix 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. Can be used with uBlock.
+
[https://chrome.google.com/webstore/detail/umatrix/ogfcmafjalglgifnmanfmnieipoejdcf?hl=en 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. Can be used with uBlock.
 +
 
 +
 
 +
 
 +
{{warning|it should be noted that while popular, the Hola VPN extension is a proven [[botnet]] (in the real, non-slang sense of the word), and should be avoided at all costs. See [http://adios-hola.org/ this site] for more information.}}
 +
 
 +
=== Usability ===
 +
[[File:Apng.png|48px]] '''APNG''' [[File:Stalled.png|x14px]]
 +
 
 +
[https://chrome.google.com/webstore/detail/apng/ehkepjiconegkhpodgoaeamnpckdbblp?hl=en APNG] is for those who want to seek enlightenment to the open source masterrace animated PNG. Good for when you go to the [https://8ch.net/apng few corners of the web] that actually use these things.
 +
 
 +
[[File:Updater.png|48px]] '''Chromium Updater''' [[File:Active.png|x14px]]
 +
 
 +
[https://chrome.google.com/webstore/detail/chromium-updater/ccgjmadhdidfloacagcnnodbkedkjedg Chromium Updater] allows Windows and GNU/Linux users to conveniently identify, download, and install the latest Chromium build. It may not be as seamless or convenient as the automatic updates in Comodo Dragon and Google Chrome, but it does get the job done. Obviously, it should only be used with Chromium.
 +
 
 +
[[File:Pdfjs.png|48px]] '''PDF Viewer''' [[File:Slow.png|x14px]]
 +
 
 +
[https://chrome.google.com/webstore/detail/pdf-viewer/oemmndcbldboiebfnladdacbdfmadadm PDF Viewer] adds PDF.js, the free and open source HTML5 PDF reader found in Firefox and Chromium.
 +
 
 +
[[File:Stylish.png|48px]] '''Stylish''' [[File:Active.png|x14px]]
 +
 
 +
[https://chrome.google.com/webstore/detail/stylish/fjnbnpbmkenffdnngjfgmeleoegfcffe Stylish] allows the user to apply custom visual styles to Websites, internal browser pages, and more.
 +
 
 +
[[File:Tampermonkey.png|48px]] '''Tampermonkey''' [[File:Active.png|x14px]]
 +
 
 +
[https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo Tampermonkey] adds a proper user script manager to Chromium. While it is certainly possible to install user scripts as Chromium extensions without this extension, it makes managing them much more convenient.
 +
 
 +
== Notable patches ==
 +
The [https://github.com/Eloston/ungoogled-chromium ungoogled-chromium repository] contains a myriad of patches that you can apply on top of Chromium in order to harden it, remove Google from your browser, or both.
 +
 
 +
{{Tip|should you want to apply all of them, [https://raw.githubusercontent.com/Eloston/ungoogled-chromium/master/patches/patch_order this] is the order you should follow. Ideally, you should use the scripts provided by Eloston.}}
 +
 
 +
Do take into account patches are modular and you do not have to use ALL of them, though you should still follow the order.
 +
 
 +
=== [https://github.com/Eloston/ungoogled-chromium/tree/master/patches/debian Debian] [[File:Stalled.png|x14px]] ===
 +
This patchset is rather simple and only aims to remove a few minor annoyances.
 +
*Removes a few annoying warnings (e.g. default browser, the google API key warning when those aren't found, and so on);
 +
*Disables the ad promo system;
 +
*Increases GPU timeout from 10 seconds to 20;
 +
*Adds PostScript printing support.
 +
 
 +
=== [https://github.com/gcarq/inox-patchset Inox-patchset] [[File:Slow.png|x14px]] ===
 +
This patchset removes various Google services that you are unlikely to (/want to) use.
 +
*Hardens the sandbox with Position Independent Code (PIE) against ROP exploits;
 +
*Aesthetic fixes: removes branding, restores the old “new tab page”, as new one calls home, as well as Google's new Avatar and sign-in menu;
 +
*Changes default search engine to DuckDuckGo (you should and can easily change this to StartPage);
 +
*Disables default extensions you are unlikely to use: Hotword, Google Now, Google Feedback, Cloud Print, Google Webstore (you will have to install extensions manually, by drag-and-dropping), Network Speech synthesis, and Google Hangout;
 +
*Disables multiple calls to Google servers: saved form data is no longer transmitted to Google, Chromium will no longer ping Google to provide the closest Google server to you, to check if IPv6 is available, or just ping Google in general.
  
 +
=== [https://github.com/Eloston/ungoogled-chromium/tree/master/patches/iridium-browser Iridium-browser] [[File:Slow.png|x14px]] ===
 +
These are the patches used on top of Chromium to create the [[Chromium#Iridium|Iridium Browser]]. If this is the only patchset you want to use, it will be significantly easier to simply go to their website and grab their binary, although you are certainly welcome to build it manually.
  
It should be noted that while popular, the Hola VPN extension is a proven [[botnet]] (in the real, non-slang sense of the word), and should be avoided at all costs. See [http://adios-hola.org/ this site] for more information.
+
{{warning|it is not recommended that you apply every single patch here; though most are safe to apply, others are dubious and one instance immediately comes to mind: it forces the browser to always send a “Do-Not-Track” header, when you would arguably blend in better by not sending anything to begin with.}}
 +
 
 +
=== [https://github.com/Eloston/ungoogled-chromium/ Ungoogled-chromium] [[File:Slow.png|x14px]] ===
 +
The ungoogled-chromium patchset aims to further remove Google's intrusive features, mostly by removing additional detection of Google hosts, debloating the Omnibox, amongst other things. Most of ungoogled-chromium patches are mostly preference-based and will not significantly alter the way you browse, or the way the browser behaves.
 +
 
 +
For a more comprehensive list, see [https://github.com/Eloston/ungoogled-chromium#features this].
 +
 
 +
=== [https://github.com/perfect7gentleman/pg_overlay/blob/master/www-client/chromium/files/enable_vaapi_on_linux.diff VAAPI acceleration] [[File:Slow.png|x14px]] ===
 +
There is a VAAPI implementation for ChromeOS, despite the fact the Chromium team insists its unstable on Linux, so this patch will enable it.
 +
 
 +
==== Bugs ====
 +
*Youtube uses VP8/9 most of the time, which is not hardware accelerated.
 +
**Solution: install [https://chrome.google.com/webstore/detail/h264ify/aleakchihdccplidncghkekgioiakgal this extension].
  
 
== Tweaks and Fixes ==
 
== Tweaks and Fixes ==
 
=== Reducing RAM Usage ===
 
=== Reducing RAM Usage ===
==== Enabling Process per Site ====
+
==== Enabling process per site ====
By default Chrom* heavily isolates each tab regardless of it's domain. While doing this arguably improves security by some extent, downside is that as number of tabs increase, the RAM bloat due to duplication reaches absurd levels. This can end up with Chrom* using >4.5GB of RAM on a machine with 8GB thus preventing other heavy programs from running at the same time.
+
By default Chrom* heavily isolates each tab regardless of its domain. While doing this arguably improves security to some extent, the downside is that as the number of tabs increases, the RAM bloat due to duplication reaches absurd levels. This can end up with Chrom* using >4.5GB of RAM on a machine with 8GB thus preventing other heavy programs from running at the same time.
This can be fixed by making Chrom* use one process per site/domain and not per tab. This greatly reduces RAM bloat while (probably) not sacrificing much from security. Use the following command-line argument:
+
 
 +
This can be fixed by making Chrom* use one process per site/domain and not per tab. This greatly reduces RAM usage while (probably) not sacrificing much from a security standpoint. However, should a given site crash, so will all tabs on the same domain. Use the following command-line argument:
  
 
{{ic|chromium --process-per-site}}
 
{{ic|chromium --process-per-site}}
Line 104: Line 164:
 
For more details go [https://www.chromium.org/developers/design-documents/process-models here].
 
For more details go [https://www.chromium.org/developers/design-documents/process-models here].
  
==== Suspending Unneeded Tabs ====
+
==== Suspending unneeded tabs ====
 
If you have tabs sitting around that you don't really actively need, you can unload them using [https://chrome.google.com/webstore/detail/the-great-suspender/klbibkeccnjlkjkiokjodocebajanakg The Great Suspender].
 
If you have tabs sitting around that you don't really actively need, you can unload them using [https://chrome.google.com/webstore/detail/the-great-suspender/klbibkeccnjlkjkiokjodocebajanakg The Great Suspender].
  
=== Fixing Touchscreen on Linux ===
+
=== Fixing GPU hardware acceleration on Linux ===
 +
In order to see if GPU acceleration is available, go to chrome://gpu. If it isn't, simply launch Chromium with the flag {{ic|--ignore-gpu-blacklist}}, or enable {{ic|Override software rendering list}} in chrome://flags, to fix it.
 +
 
 +
=== Fixing touchscreen on Linux ===
 
If your device runs Linux and has a touchscreen, you probably noticed that, by default, Chrom* completely ignores touch events. To make Chrom* use your touchscreen, you first need to find your input device ID:
 
If your device runs Linux and has a touchscreen, you probably noticed that, by default, Chrom* completely ignores touch events. To make Chrom* use your touchscreen, you first need to find your input device ID:
  
Line 114: Line 177:
 
Find the ID of "Virtual core pointer", let's take for example <code>id=2</code>. Now run Chrom* with the following argument:
 
Find the ID of "Virtual core pointer", let's take for example <code>id=2</code>. Now run Chrom* with the following argument:
  
{{ic|chromium --touch-devices=2}}
+
{{ic|<nowiki>chromium --touch-devices=2</nowiki>}}
  
 
If ID of "Virtual core pointer" doesn't work, try the ID of touchscreen device.
 
If ID of "Virtual core pointer" doesn't work, try the ID of touchscreen device.
  
===KDialog freezes every time I save reeee===
+
===KDialog freezes===
Yeah fuck that. Launch with the following environment variable:
+
Launch with the following environment variable:
NO_CHROME_KDE_FILE_DIALOG=1 chromium
+
 
 +
{{ic|<nowiki>NO_CHROME_KDE_FILE_DIALOG=1 chromium</nowiki>}}
 +
 
 +
=== Installing extensions ===
 +
 
 +
... that require a Google account.
 +
 
 +
Certain extensions demand that the user login to a Google account to install them from the Chrome Web Store, but a workaround exists. However, there is a weakness: the extension cannot be automatically updated.
 +
 
 +
# In this example, we will be using the Google Drive extension {{ic|<nowiki>https://chrome.google.com/webstore/detail/google-drive/apdfllckaahabafndbhieahigkjlhalf</nowiki>}});
 +
# Locate its ID: the apparent gibberish following the extension's name in the URL which, in our example, happens to be ''apdfllckaahabafndbhieahigkjlhalf'';
 +
# Insert it in place of the bracketed statement in the following URL: {{ic|<nowiki>https://clients2.google.com/service/update2/crx?response=redirect&x=id%3D[Your ID Goes Here]%26uc</nowiki>}};
 +
# In our example, the final URL is: {{ic|<nowiki>https://clients2.google.com/service/update2/crx?response=redirect&x=id%3Dapdfllckaahabafndbhieahigkjlhalf%26uc</nowiki>}};
 +
# Now we must open it in a new tab and save the offered CRX file to a convenient location;
 +
# Unfortunately, the file will not work for us as is, since we are not installing from the Chrome Web Store, so, to work around this problem, we must extract the contents of the CRX file to a folder with an archiver like 7zip;
 +
# Now, we must enable 'developer mode' on the extensions page and load the folder as an unpacked extension.
 +
 
 +
Provided everything went according to plan, we should have have a working extension.
 +
 
 +
Alternatively, you can just run Chromium with {{ic|<nowiki>--enable-remote-extensions</nowiki>}}
  
 
== External links ==
 
== External links ==

Latest revision as of 11:19, 23 February 2017

Note: try to keep this page up-to-date by updating the status of the extensions and patches.
Chromium
Software Chromium.png
Type Free
Layout engine Blink
Website

Chromium is a free and open source Web browser developed by Google and other contributors. It is known for its extremely fast JavaScript engine, multi-process security model, and rapid development cycle.

When it was initially released, Chromium was vastly superior to other major browsers in terms of performance, but this advantage gradually diminished in the years following its release as the other browsers caught up. Today, Chromium maintains an edge in JavaScript performance, security, and UI responsiveness.

Recently, Google forked the Apple-controlled WebKit project to give Chromium its own layout engine: Blink.

Google Chrome

The Google Chrome icon

Google Chrome is a proprietary sister project of Chromium developed by Google.

In addition to Chromium's usual set of features, it packages Google's 'Pepper' Flash plug-in, a Foxit-based in-line PDF reader, an automatic updater, and several controversial tracking capabilities. Due to the latter, it is commonly accused of being a botnet by the more security-conscious participants on /g/, for good reason.

Official release channels

  • Stable is targeted at most home and office users;
  • Beta;
  • Dev;
  • Canary is a bleeding-edge channel. Instability and vulnerabilities are to be expected.

Tracking details

Google Chrome's user tracking capabilities include, but are not necessarily limited to the following:

  • Installation: upon installation, Google Chrome sends a randomly generated token from the installer back to Google. This is used to measure the success rate of Chrome installations. This feature is non-optional.
  • RLZ identifier: an encoded string that, according to Google, contains non-identifying bits of information about where Chrome was downloaded from and when it was installed. It is transmitted to Google upon the first launch, first use of the address bar, and first Google search query. The collected information is used to measure the success of promotional campaigns. This feature is non-optional, but Google does provide the necessary source code to decode the string.
  • ClientID: a unique identifier coupled with user preferences, logs of usages metrics, and crashes. This feature is optional and disabled by default.
  • OmniBox predictions: any text typed into the address bar is sent to Google. This feature is optional, but enabled by default.
  • Page-not-found web service: upon receiving a server not found response, the query typed into the address bar is sent to Google. This feature is optional, but enabled by default.
  • Spell-checking web service: any text typed is transmitted to Google. This feature is optional and disabled by default.
  • Google update: data concerning the user's Chrome usage, operating system details, and Chrome version is transmitted to Google periodically. This feature is non-optional.

Notable forks

Iridium

Iridium is a FOSS fork of Chromium developed with security and privacy in mind. It generally uses the same Chromium version as Chrome stable. For a list of differences between it and Chromium, see this.

Sleipnir

Sleipnir is a proprietary, Windows/OSX exclusive fork whose sole purpose is to fix Chromium's broken font rendering on Windows.

ungoogled-chromium

ungoogled-chromium is a Chromium fork built with privacy as a top priority, with Google's privacy invading aspects stripped out of the browser. It's free and open source, leveraging some patch sets from the Iridium browser. It has taken off rather quickly on /g/ and no one is wasting their time meming it. The only real drawback is that extensions cannot be installed automatically from the Chrome Web Store, requiring you download the .crx file and then drag it into chrome://extensions to install it. A workaround is to install a userscript that adds the option to download the .crx file from the Chrome Web Store.

Currently, it has native binary builds for Linux, Mac OS X and Windows.

Tags

Active.png — Development process is active.

Slow.png — Development process is slow. Software is mature enough to warrant less frequent updates, unless it comes with a "buggy" tag.

Stalled.png — Software isn't updated regularly. Mostly fine unless it comes with a buggy tag.

Buggy.png — Comes with a significant amount of bugs, possibly due to slow, or non-existent development.

Notable extensions

Adblocking, privacy, and security

Editthiscookie.png EditThisCookie Stalled.png

EditThisCookie is a great cookie manager for Chromium.

Httpseverywhere.png HTTPS-Everywhere Active.png

HTTPS Everywhere is maintained by the Electronic Frontier Foundation. It forces supported sites to prefer secure connections. This does occasionally cause problems, so the option to enable or disable the extension on a per-site basis is included.

UBlock.png uBlock Origin Active.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.

  • 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.

Ws.png uBlock Origin Extra Active.png

uBlock Origin Extra is a companion extension for Chromium-based browsers to expose websocket connections to uBlock Origin, and in that way overcome Chrom*'s extension API limitations.

UMatrix.png uMatrix Slow.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. Can be used with uBlock.


Warning: it should be noted that while popular, the Hola VPN extension is a proven botnet (in the real, non-slang sense of the word), and should be avoided at all costs. See this site for more information.

Usability

Apng.png APNG Stalled.png

APNG is for those who want to seek enlightenment to the open source masterrace animated PNG. Good for when you go to the few corners of the web that actually use these things.

Updater.png Chromium Updater Active.png

Chromium Updater allows Windows and GNU/Linux users to conveniently identify, download, and install the latest Chromium build. It may not be as seamless or convenient as the automatic updates in Comodo Dragon and Google Chrome, but it does get the job done. Obviously, it should only be used with Chromium.

Pdfjs.png PDF Viewer Slow.png

PDF Viewer adds PDF.js, the free and open source HTML5 PDF reader found in Firefox and Chromium.

Stylish.png Stylish Active.png

Stylish allows the user to apply custom visual styles to Websites, internal browser pages, and more.

Tampermonkey.png Tampermonkey Active.png

Tampermonkey adds a proper user script manager to Chromium. While it is certainly possible to install user scripts as Chromium extensions without this extension, it makes managing them much more convenient.

Notable patches

The ungoogled-chromium repository contains a myriad of patches that you can apply on top of Chromium in order to harden it, remove Google from your browser, or both.

Tip: should you want to apply all of them, this is the order you should follow. Ideally, you should use the scripts provided by Eloston.

Do take into account patches are modular and you do not have to use ALL of them, though you should still follow the order.

Debian Stalled.png

This patchset is rather simple and only aims to remove a few minor annoyances.

  • Removes a few annoying warnings (e.g. default browser, the google API key warning when those aren't found, and so on);
  • Disables the ad promo system;
  • Increases GPU timeout from 10 seconds to 20;
  • Adds PostScript printing support.

Inox-patchset Slow.png

This patchset removes various Google services that you are unlikely to (/want to) use.

  • Hardens the sandbox with Position Independent Code (PIE) against ROP exploits;
  • Aesthetic fixes: removes branding, restores the old “new tab page”, as new one calls home, as well as Google's new Avatar and sign-in menu;
  • Changes default search engine to DuckDuckGo (you should and can easily change this to StartPage);
  • Disables default extensions you are unlikely to use: Hotword, Google Now, Google Feedback, Cloud Print, Google Webstore (you will have to install extensions manually, by drag-and-dropping), Network Speech synthesis, and Google Hangout;
  • Disables multiple calls to Google servers: saved form data is no longer transmitted to Google, Chromium will no longer ping Google to provide the closest Google server to you, to check if IPv6 is available, or just ping Google in general.

Iridium-browser Slow.png

These are the patches used on top of Chromium to create the Iridium Browser. If this is the only patchset you want to use, it will be significantly easier to simply go to their website and grab their binary, although you are certainly welcome to build it manually.

Warning: it is not recommended that you apply every single patch here; though most are safe to apply, others are dubious and one instance immediately comes to mind: it forces the browser to always send a “Do-Not-Track” header, when you would arguably blend in better by not sending anything to begin with.

Ungoogled-chromium Slow.png

The ungoogled-chromium patchset aims to further remove Google's intrusive features, mostly by removing additional detection of Google hosts, debloating the Omnibox, amongst other things. Most of ungoogled-chromium patches are mostly preference-based and will not significantly alter the way you browse, or the way the browser behaves.

For a more comprehensive list, see this.

VAAPI acceleration Slow.png

There is a VAAPI implementation for ChromeOS, despite the fact the Chromium team insists its unstable on Linux, so this patch will enable it.

Bugs

  • Youtube uses VP8/9 most of the time, which is not hardware accelerated.

Tweaks and Fixes

Reducing RAM Usage

Enabling process per site

By default Chrom* heavily isolates each tab regardless of its domain. While doing this arguably improves security to some extent, the downside is that as the number of tabs increases, the RAM bloat due to duplication reaches absurd levels. This can end up with Chrom* using >4.5GB of RAM on a machine with 8GB thus preventing other heavy programs from running at the same time.

This can be fixed by making Chrom* use one process per site/domain and not per tab. This greatly reduces RAM usage while (probably) not sacrificing much from a security standpoint. However, should a given site crash, so will all tabs on the same domain. Use the following command-line argument:

chromium --process-per-site

For more details go here.

Suspending unneeded tabs

If you have tabs sitting around that you don't really actively need, you can unload them using The Great Suspender.

Fixing GPU hardware acceleration on Linux

In order to see if GPU acceleration is available, go to chrome://gpu. If it isn't, simply launch Chromium with the flag --ignore-gpu-blacklist, or enable Override software rendering list in chrome://flags, to fix it.

Fixing touchscreen on Linux

If your device runs Linux and has a touchscreen, you probably noticed that, by default, Chrom* completely ignores touch events. To make Chrom* use your touchscreen, you first need to find your input device ID:

xinput list

Find the ID of "Virtual core pointer", let's take for example id=2. Now run Chrom* with the following argument:

chromium --touch-devices=2

If ID of "Virtual core pointer" doesn't work, try the ID of touchscreen device.

KDialog freezes

Launch with the following environment variable:

NO_CHROME_KDE_FILE_DIALOG=1 chromium

Installing extensions

... that require a Google account.

Certain extensions demand that the user login to a Google account to install them from the Chrome Web Store, but a workaround exists. However, there is a weakness: the extension cannot be automatically updated.

  1. In this example, we will be using the Google Drive extension https://chrome.google.com/webstore/detail/google-drive/apdfllckaahabafndbhieahigkjlhalf);
  2. Locate its ID: the apparent gibberish following the extension's name in the URL which, in our example, happens to be apdfllckaahabafndbhieahigkjlhalf;
  3. Insert it in place of the bracketed statement in the following URL: https://clients2.google.com/service/update2/crx?response=redirect&x=id%3D[Your ID Goes Here]%26uc;
  4. In our example, the final URL is: https://clients2.google.com/service/update2/crx?response=redirect&x=id%3Dapdfllckaahabafndbhieahigkjlhalf%26uc;
  5. Now we must open it in a new tab and save the offered CRX file to a convenient location;
  6. Unfortunately, the file will not work for us as is, since we are not installing from the Chrome Web Store, so, to work around this problem, we must extract the contents of the CRX file to a folder with an archiver like 7zip;
  7. Now, we must enable 'developer mode' on the extensions page and load the folder as an unpacked extension.

Provided everything went according to plan, we should have have a working extension.

Alternatively, you can just run Chromium with --enable-remote-extensions

External links