uBlock/README.md

180 lines
10 KiB
Markdown
Raw Normal View History

2015-11-10 09:33:18 -07:00
[![Build](https://travis-ci.org/gorhill/uBlock.svg?branch=master)](https://travis-ci.org/gorhill/uBlock)
[![Crowdin](https://d322cqt584bo4o.cloudfront.net/ublock/localized.svg)](https://crowdin.com/project/ublock)
2015-11-10 09:33:18 -07:00
[![License](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://github.com/gorhill/uBlock/blob/master/LICENSE.txt)
2015-05-27 05:15:51 -06:00
***
2017-07-18 15:21:07 -06:00
##### BEWARE! uBlock Origin is (and has always been) COMPLETELY UNRELATED to the web site ublock.org
2016-08-05 08:02:22 -06:00
The donations sought by the [individual](https://github.com/chrisaljoudi/) behind `ublock.org` (_"to keeps uBlock development possible"_, [a misrepresentation](https://en.wikipedia.org/wiki/UBlock_Origin#uBlock_.28ublock.org.29)) are _not_ benefiting any of those who contributed most to create uBlock Origin ([developers](https://github.com/gorhill/uBlock/graphs/contributors), [translators](https://crowdin.com/project/ublock), and all those who put efforts in opening detailed issues). For the differences between uBlock Origin and uBlock, see the unbiased [Wikipedia article](https://en.wikipedia.org/wiki/UBlock_Origin).
2015-07-31 07:10:53 -06:00
***
2016-06-18 06:27:48 -06:00
uBlock Origin is **NOT** an "ad blocker": [it is a wide-spectrum blocker](https://github.com/gorhill/uBlock/wiki/Blocking-mode) -- which happens to be able to function as a mere "ad blocker". The default behavior of uBlock Origin when newly installed is to block ads, trackers and malware sites -- through [_EasyList_](https://easylist.github.io/#easylist), [_EasyPrivacy_](https://easylist.github.io/#easyprivacy), [_Peter Lowes ad/tracking/malware servers_](https://pgl.yoyo.org/adservers/policy.php), various lists of [malware](http://www.malwaredomainlist.com/) [sites](http://www.malwaredomains.com/), and uBlock Origin's [own filter lists](https://github.com/uBlockOrigin/uAssets/tree/master/filters).
2015-05-26 09:03:03 -06:00
2015-04-04 05:34:38 -06:00
***
<h1 align="center">
<sub>
<img src="https://raw.githubusercontent.com/gorhill/uBlock/master/doc/img/icon38@2x.png"
height="38"
width="38">
</sub>
2015-04-14 14:50:49 -06:00
uBlock Origin
</h1>
<p align="center">
2015-03-07 17:53:01 -07:00
<sup> <!-- Pronounciation -->
2015-04-07 14:32:01 -06:00
pronounced <i>you-block origin</i> (<code>/ˈjuːˌblɒk/</code>) — <i>you</i> decide what enters your browser.
2015-03-07 17:53:01 -07:00
</sup>
<br>
<sup> <!-- Languages -->
<img src="https://raw.githubusercontent.com/gorhill/uBlock/master/doc/img/languageicon-36.png" width="18" height="18">
2015-03-07 17:35:47 -07:00
<sup>
2015-07-22 14:58:31 -06:00
English,
2015-07-22 15:14:09 -06:00
<a href="https://github.com/fang5566/uBlock/blob/master/README.md#ublock-origin">Chinese (中文)</a>,
<a href="https://github.com/delightbot/uBlock/blob/master/README.md#ublock-origin">Korean (한국어)</a>,
<a href="https://github.com/ialexsilva/uBlock/blob/master/README.md#ublock-origin">Português (Brasil)</a>
2015-03-07 17:35:47 -07:00
</sup>
</sup>
</p>
2015-05-27 05:15:51 -06:00
**An efficient blocker add-on for various browsers. Fast, potent, and lean.**
2014-06-22 18:00:34 -06:00
2015-03-27 14:21:31 -06:00
* [Documentation](#documentation)
2015-08-06 16:58:51 -06:00
* [Purpose & General Info](#philosophy)
* [Performance and Efficiency](#performance)
* [Memory](#memory)
* [CPU](#cpu)
* [Blocking](#blocking)
2015-02-01 12:52:01 -07:00
* [Quick tests](#quick-tests)
* [Installation](#installation)
2015-11-09 09:06:59 -07:00
* [Chromium](#chromium)
2015-07-17 23:33:47 -06:00
* [Firefox](#firefox--firefox-for-android)
2016-08-08 18:53:13 -06:00
* [Microsoft Edge](#microsoft-edge)
2016-12-07 08:05:29 -07:00
- [Safari (macOS)](#safari-macos)
* [Release History](#release-history)
2015-07-16 07:39:54 -06:00
* [Privacy policy](https://github.com/gorhill/uBlock/wiki/Privacy-policy)
* [Wiki](https://github.com/gorhill/uBlock/wiki)
2014-06-22 18:00:34 -06:00
2015-08-06 16:48:47 -06:00
## Documentation
Basic mode | Advanced-user mode
:----------:|:------------------:
[Popup user interface](https://github.com/gorhill/uBlock/wiki/Quick-guide:-popup-user-interface) | [A point-and-click firewall which can be configured on a per-site basis](https://github.com/gorhill/uBlock/wiki/Dynamic-filtering:-quick-guide)
2015-08-16 08:34:06 -06:00
<a href="https://github.com/gorhill/uBlock/wiki/Quick-guide:-popup-user-interface"><img src="https://raw.githubusercontent.com/gorhill/uBlock/master/doc/img/popup-1.png" /></a><br><sup>.<br>.</sup> | <a href="https://github.com/gorhill/uBlock/wiki/Dynamic-filtering:-quick-guide"><img src="https://cloud.githubusercontent.com/assets/585534/9293685/378d18f0-4402-11e5-9255-8ed3fdbfa957.png" /></a><br><sup>Configure as you wish:<br>picture shows 3rd-party scripts and frames blocked by default everywhere</sup>
2015-08-06 16:48:47 -06:00
Visit the [uBlock Origin's wiki](https://github.com/gorhill/uBlock/wiki) for documentation.
2017-07-08 17:48:05 -06:00
For support/questions/help, there is [/r/uBlockOrigin](https://www.reddit.com/r/uBlockOrigin/) on Reddit.
2015-01-16 20:43:37 -07:00
## Philosophy
2014-09-19 08:16:34 -06:00
2015-07-16 12:12:40 -06:00
uBlock Origin (or uBlock₀) is not an *ad blocker*; it's a general-purpose blocker. uBlock₀ blocks ads through its support of the [Adblock Plus filter syntax](https://adblockplus.org/en/filters). uBlock₀ [extends](https://github.com/gorhill/uBlock/wiki/Filter-syntax-extensions) the syntax and is designed to work with custom rules and filters. Furthermore, advanced mode allows uBlock₀ to work in [default-deny mode](https://github.com/gorhill/uBlock/wiki/Dynamic-filtering:-default-deny), which mode will cause [all 3rd-party network requests](https://requestpolicycontinued.github.io/#what-are-cross-site-requests) to be blocked by default, unless allowed by the user.
2014-09-19 08:16:34 -06:00
That said, it's important to note that using a blocker is **NOT** [theft](https://twitter.com/LeaVerou/status/518154828166725632). Don't fall for this creepy idea. The _ultimate_ logical consequence of `blocking = theft` is the criminalisation of the inalienable right to privacy.
2014-09-19 08:16:34 -06:00
2015-04-06 18:25:50 -06:00
Ads, "unintrusive" or not, are just the visible portions of privacy-invading apparatus entering your browser when you visit most sites nowadays. **uBlock₀'s main goal is to help users neutralize such privacy-invading apparatus** — in a way that welcomes those users who don't wish to use more technical, involved means (such as [µMatrix](https://github.com/gorhill/uMatrix)).
2015-04-06 18:25:50 -06:00
_EasyList_, _Peter Lowe's Adservers_, _EasyPrivacy_ and _Malware domains_ are enabled by default when you install uBlock₀. Many more lists are readily available to block trackers, analytics, and more. Hosts files are also supported.
2015-04-06 18:25:50 -06:00
Once you install uBlock₀, you may easily un-select any of the pre-selected filter lists if you think uBlock₀ blocks too much. For reference, Adblock Plus installs with only _EasyList_ enabled by default.
2015-02-26 08:00:27 -07:00
2015-01-16 20:43:37 -07:00
## Performance
2015-01-16 20:43:37 -07:00
#### Memory
2014-08-24 14:30:48 -06:00
<div align="center">
2015-09-24 07:14:10 -06:00
On average, uBlock Origin does make your browser run leaner. <sup>[1]</sup><br><br>
2015-09-24 07:13:23 -06:00
Chromium<br>
2015-09-24 07:12:01 -06:00
<img src="https://cloud.githubusercontent.com/assets/585534/10074141/15f04128-629c-11e5-9155-177fd4909083.png" /><br><br>
Firefox<br>
2015-09-24 07:12:01 -06:00
<img src="https://cloud.githubusercontent.com/assets/585534/10074130/0577118c-629c-11e5-9902-bf367c6a96c3.png" /><br><br>
</div>
2014-06-22 18:00:34 -06:00
2015-02-06 07:04:39 -07:00
<sup>[1] Details of the benchmark available at <a href="https://github.com/gorhill/uBlock/wiki/Firefox-version:-benchmarking-memory-footprint">Firefox version: benchmarking memory footprint</a>.</sup><br>
2015-02-06 07:00:44 -07:00
2015-01-16 20:43:37 -07:00
#### CPU
2014-12-27 10:30:50 -07:00
2014-06-26 10:48:32 -06:00
<p align="center">
2015-09-24 07:12:01 -06:00
uBlock Origin is also easy on the CPU<br>
2014-12-26 10:08:06 -07:00
<img src="https://raw.githubusercontent.com/gorhill/uBlock/master/doc/benchmarks/cpu-usage-overall-chart-20141226.png" /><br>
<sup>Details of the benchmark available in <a href="https://github.com/gorhill/uBlock/blob/master/doc/benchmarks/cpu-usage-overall-20141226.ods">this LibreOffice spreadsheet</a>.</sup>
2014-07-05 14:57:37 -06:00
</p>
2014-06-24 09:10:13 -06:00
2015-01-16 20:43:37 -07:00
#### Blocking
2014-07-15 08:56:35 -06:00
<p align="center">
Being lean and efficient doesn't mean blocking less<br>
2015-02-16 12:52:27 -07:00
<img src="https://raw.githubusercontent.com/gorhill/uBlock/master/doc/benchmarks/privex-201502-16.png" /><br>
<sup>For details of benchmark, see
2015-04-06 18:25:50 -06:00
<a href="https://github.com/gorhill/uBlock/wiki/uBlock-and-others%3A-Blocking-ads%2C-trackers%2C-malwares">uBlock₀ and others: Blocking ads, trackers, malwares</a>.
2014-07-15 08:56:35 -06:00
</p>
2014-06-22 18:00:34 -06:00
## Installation
Feel free to read [about the extension's required permissions](https://github.com/gorhill/uBlock/wiki/About-the-required-permissions).
2015-01-16 20:47:40 -07:00
#### Chromium
You can install the latest version [manually](https://github.com/gorhill/uBlock/tree/master/dist#install), from the [Chrome Store](https://chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm), or from the [Opera store](https://addons.opera.com/extensions/details/ublock/).
2015-04-29 17:20:07 -06:00
2017-10-02 05:41:14 -06:00
There is also a development version in the Chrome store if you want to test uBlock Origin with the latest changes: see [_uBlock Origin dev build_](https://chrome.google.com/webstore/detail/ublock-origin-dev-build/cgbcahbpdhpcegmbfconppldiemgcoii).
2015-12-12 07:06:31 -07:00
It is expected that uBlock Origin is compatible with any Chromium-based browsers.
2015-07-13 06:15:26 -06:00
#### Firefox / Firefox for Android
2017-10-02 05:42:53 -06:00
[Firefox Add-ons web site](https://addons.mozilla.org/addon/ublock-origin/).
There is also a development version if you want to test uBlock Origin with the latest changes: see [_beta channel for uBlock Origin_](https://addons.mozilla.org/addon/ublock-origin/versions/beta)
2015-12-12 07:01:54 -07:00
2015-12-12 07:06:31 -07:00
uBlock Origin is compatible with [SeaMonkey](http://www.seamonkey-project.org/), [Pale Moon](https://www.palemoon.org/), and possibly other browsers based on Firefox.
2015-10-28 13:38:43 -06:00
Also of interest: [Deploying uBlock Origin for Firefox with CCK2 and Group Policy](http://decentsecurity.com/ublock-for-firefox-deployment/).
2015-07-13 10:27:40 -06:00
2016-09-16 06:43:38 -06:00
Thanks to Debian contributor [Sean Whitton](https://wiki.debian.org/SeanWhitton), users of Debian 9 or later or Ubuntu 16.04 or later may simply
`apt-get install xul-ext-ublock-origin`.
2016-08-08 11:48:04 -06:00
#### Microsoft Edge
2016-12-15 11:41:38 -07:00
Developer: [@nikrolls](https://github.com/nikrolls).
Stable version available in [Microsoft Store](https://www.microsoft.com/store/p/app/9nblggh444l4).
2016-12-15 11:42:11 -07:00
2016-12-15 11:41:38 -07:00
Development version available at <https://github.com/nikrolls/uBlock-Edge#edge>.
2016-08-08 11:48:04 -06:00
2016-12-07 08:05:29 -07:00
#### Safari (macOS)
2016-12-15 11:41:38 -07:00
Developer: [@el1t](https://github.com/el1t).
Development version available at <https://github.com/el1t/uBlock-Safari#ublock-originfor-safari>.
2016-12-07 08:05:29 -07:00
2015-01-16 20:43:37 -07:00
#### Note for all browsers
2014-06-22 18:00:34 -06:00
2017-08-14 06:38:13 -06:00
To benefit from uBlock Origin's higher efficiency, it's advised that you don't use other inefficient blockers at the same time (such as AdBlock or Adblock Plus). uBlock₀ will do [as well or better](#blocking) than most popular ad blockers. Other blockers can also prevent uBlock₀'s privacy or anti-blocker features from working properly.
2014-06-23 22:38:26 -06:00
## Release History
See the [releases pages](https://github.com/gorhill/uBlock/releases) for a history of releases and highlights for each release.
2014-07-29 16:07:36 -06:00
2014-06-22 18:00:34 -06:00
## About
2015-04-25 08:56:52 -06:00
[uBlock Origin's manifesto](MANIFESTO.md).
2014-08-25 16:51:39 -06:00
Free. Open source. For users by users. No donations sought.
Without the preset lists of filters, this extension is nothing. So if ever you
really do want to contribute something, think about the people working hard
to maintain the filter lists you are using, which were made available to use by
2014-06-26 14:33:36 -06:00
all for free.
2015-04-06 18:25:50 -06:00
You can contribute by helping translate uBlock₀ [on Crowdin](https://crowdin.net/project/ublock).
2014-07-05 14:03:59 -06:00
2014-06-22 18:00:34 -06:00
## License
2014-06-23 23:55:32 -06:00
[GPLv3](https://github.com/gorhill/uBlock/blob/master/LICENSE.txt).