hello friends! new(ish)!

Chromium: Difference between revisions

From InstallGentoo Wiki v2
Jump to navigation Jump to search
>Galactus
m (→‎Notable Extensions: - parity with FF article)
>Galactus
Line 64: Line 64:
* [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/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.
*[https://chrome.google.com/webstore/detail/editthiscookie/fngmhnnpilhplaeedifhccceomclgfbg/related?hl=en EditThisCookie] - Great cookie manager for Chromium.
* [https://chrome.google.com/webstore/detail/https-everywhere/gcbommkclmclpchllfjekcdonpmejbdp HTTPS Everywhere] - This extension 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.
 
[[File:Httpseverywhere.png|48px]] '''HTTPS-Everywhere'''
 
[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.
* [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.
* [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.
Line 71: Line 75:
[[File:uBlock.png|48px]] '''uBlock Origin'''
[[File:uBlock.png|48px]] '''uBlock Origin'''


[https://addons.mozilla.org/en-US/firefox/addon/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.
[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.
*Not to be confused with 'uBlock', an EXTREMELY outdated fork with some very slight changes to the UI.
*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 [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].
Line 79: Line 83:
[[File:matrix.png|thumb|uMatrix's fine-grained control]]
[[File:matrix.png|thumb|uMatrix's fine-grained control]]


[https://addons.mozilla.org/en-US/firefox/addon/umatrix/ 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, 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.





Revision as of 16:19, 2 April 2016

Cleanup.png
Cleanup.png
CLEANUP CANDIDATE
Relevant discussion may be found on the talk page. Reason: Organization, etcetera


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 tracking capabilities, 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.

SRWare Iron

SRWare Iron is a proprietary fork of Chromium developed by SRWare. http://neugierig.org/software/chromium/notes/2009/12/iron.html

Extensions

Installing Extensions

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.

  • 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 extsion.
  • Provided the everything went according to plan, we should have have a working extension.

Notable Extensions

There seem to be many extensions for Chromium that claim to block advertisements. The one listed here is what /tech/ recommends.

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

  • PDF Viewer - This extension 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.


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:

Template error: are you trying to use the = sign? Visit Help:Template#Escape template-breaking characters for workarounds.

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

KDialog freezes every time I save reeee

Yeah fuck that. Launch with the following environment variable:

NO_CHROME_KDE_FILE_DIALOG=1 chromium

External links