hello friends! new(ish)!

Chromium: Difference between revisions

From InstallGentoo Wiki v2
Jump to navigation Jump to search
>Galactus
>Galactus
(→‎Notable extensions: adds remaining icons)
Line 52: Line 52:


=== Notable extensions ===
=== Notable extensions ===
[[File:Apng.png|48px]] '''APNG'''


* [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/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.
* [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:Updater.png|48px]] '''Chromium Updater'''
 
[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:Editthiscookie.png|48px]] '''EditThisCookie'''
 
[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:Httpseverywhere.png|48px]] '''HTTPS-Everywhere'''
Line 61: Line 68:
[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:Pdfjs.png|48px]] '''PDF Viewer'''
 
[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, to Chromium.
* [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/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.
* [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.

Revision as of 04:30, 4 April 2016

Cleanup.png
Cleanup.png
CLEANUP CANDIDATE
Relevant discussion may be found on the talk page. Reason: Notable extensions lacking icons; 'Installing extensions' is an ugly mess.


The Chromium Icon

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.

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

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

Comodo Dragon

Comodo Dragon is a proprietary fork of Chromium developed by Comodo. It generally lags a version behind Chrome stable. Use at your own risk.

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.

Extensions

Notable extensions

Apng.png APNG

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

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.

Editthiscookie.png EditThisCookie

EditThisCookie is a great cookie manager for Chromium.

Httpseverywhere.png HTTPS-Everywhere

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.

Pdfjs.png PDF Viewer

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

  • Stylish - This extension allows the user to apply custom visual styles to Websites, internal browser pages, and more.
  • 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.

UBlock.png uBlock Origin

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.

UMatrix.png uMatrix

uMatrix's fine-grained control

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.


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.

Tweaks and Fixes

Reducing RAM Usage

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

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

  • 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.
  • 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.
  • https://clients2.google.com/service/update2/crx?response=redirect&x=id%3D[Your ID Goes Here]%26uc
  • 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 extension.
  • Provided everything went according to plan, we should have have a working extension.

External links