uBlock/README.md

151 lines
7.9 KiB
Markdown
Raw Normal View History

<h1 align="center">
<sub>
2015-04-01 12:13:52 -06:00
<img src="https://raw.githubusercontent.com/chrisaljoudi/uBlock/master/doc/img/icon38@2x.png"
height="38"
width="38">
</sub>
uBlock
</h1>
<p align="center">
2015-03-07 17:53:01 -07:00
<sup> <!-- Pronounciation -->
2015-03-07 18:04:21 -07:00
pronounced <i>you-block</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 -->
2015-04-01 12:13:52 -06:00
<img src="https://raw.githubusercontent.com/chrisaljoudi/uBlock/master/doc/img/languageicon-36.png" width="18" height="18">
2015-03-07 17:35:47 -07:00
<sup>
English, <a href="https://github.com/fang5566/uBlock/blob/master/README.md#-µblock">
2015-03-12 00:08:57 -06:00
Chinese (中文), </a><a href="https://github.com/delightbot/uBlock/blob/master/README.md#ublock">
Korean (한국어) </a>
2015-03-07 17:35:47 -07:00
</sup>
</sup>
</p>
2015-04-01 12:13:52 -06:00
**An efficient blocker add-on for various browsers. Fast, potent, and lean.**&nbsp;&nbsp;[<img src="https://travis-ci.org/chrisaljoudi/uBlock.svg?branch=master" height="12">](https://travis-ci.org/chrisaljoudi/uBlock)
2014-06-22 18:00:34 -06:00
* [Purpose & General Info](#philosophy)
2015-03-27 14:21:31 -06:00
* [Documentation](#documentation)
* [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-01-16 20:47:40 -07:00
* [Chromium](#chromium)
* [Firefox](#firefox)
2015-01-16 20:14:46 -07:00
* [Safari](#safari)
* [Release History](#release-history)
2015-04-01 12:13:52 -06:00
* [Wiki](https://github.com/chrisaljoudi/uBlock/wiki)
2014-06-22 18:00:34 -06:00
2015-01-16 20:43:37 -07:00
## Philosophy
2014-09-19 08:16:34 -06:00
2015-04-01 12:13:52 -06:00
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/chrisaljoudi/uBlock/wiki/Filter-syntax-extensions) the syntax and is designed to work with custom rules and filters.
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-01 12:13:52 -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/chrisaljoudi/uMatrix)).
2015-03-07 14:20:52 -07: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-03-07 14:20:52 -07: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-03-27 14:20:50 -06:00
## Documentation
2015-04-01 12:13:52 -06:00
[Quick guide: popup user interface](https://github.com/chrisaljoudi/uBlock/wiki/Quick-guide:-popup-user-interface)
2015-03-27 14:20:50 -06:00
2015-04-01 12:13:52 -06:00
<a href="https://github.com/chrisaljoudi/uBlock/wiki/Quick-guide:-popup-user-interface"><img src="https://raw.githubusercontent.com/chrisaljoudi/uBlock/master/doc/img/popup-1.png" /></a>
2015-03-27 14:20:50 -06:00
2015-04-01 12:13:52 -06:00
For advanced usage, read about [dynamic filtering](https://github.com/chrisaljoudi/uBlock/wiki/Dynamic-filtering:-quick-guide) and more on [uBlock's wiki](https://github.com/chrisaljoudi/uBlock/wiki).
2015-03-27 14:20:50 -06: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-03-07 14:20:52 -07:00
On average, uBlock <b>really</b> does make your browser run leaner. <sup>[1]</sup><br><br>
2015-02-06 07:04:39 -07:00
Chromium <sup>[2]</sup><br>
2015-04-01 12:13:52 -06:00
<img src="https://raw.githubusercontent.com/chrisaljoudi/uBlock/master/doc/benchmarks/mem-usage-overall-chart-20141224.png" /><br><br>
Firefox<br>
2015-04-01 12:13:52 -06:00
<img src="https://raw.githubusercontent.com/chrisaljoudi/uBlock/master/doc/benchmarks/mem-usage-overall-chart-20150205.png" /><br><br>
2015-02-06 06:39:41 -07:00
Safari<br>
2015-04-01 12:13:52 -06:00
<img src="https://raw.githubusercontent.com/chrisaljoudi/uBlock/master/doc/benchmarks/mem-usage-overall-chart-safari-20150205.png" /><br><br>
2015-02-06 06:39:41 -07:00
</div>
2014-06-22 18:00:34 -06:00
2015-04-01 12:13:52 -06:00
<sup>[1] Details of the benchmark available at <a href="https://github.com/chrisaljoudi/uBlock/wiki/Firefox-version:-benchmarking-memory-footprint">Firefox version: benchmarking memory footprint</a>.</sup><br>
2015-02-06 07:00:44 -07:00
2015-02-06 07:04:39 -07:00
<sup>[2] Important note: There is currently a [bug in Chromium 39+ which causes a new memory leak each time the popup UI of an extension is opened](https://code.google.com/p/chromium/issues/detail?id=441500). This affects <i>all</i> extensions. Keep this in mind when measuring Chromium's memory usage. In the benchmarks, I avoided opening the popups completely.</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-03-07 14:20:52 -07:00
uBlock is also easy on the CPU<br>
2015-04-01 12:13:52 -06:00
<img src="https://raw.githubusercontent.com/chrisaljoudi/uBlock/master/doc/benchmarks/cpu-usage-overall-chart-20141226.png" /><br>
<sup>Details of the benchmark available in <a href="https://github.com/chrisaljoudi/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-04-01 12:13:52 -06:00
<img src="https://raw.githubusercontent.com/chrisaljoudi/uBlock/master/doc/benchmarks/privex-201502-16.png" /><br>
<sup>For details of benchmark, see
2015-04-01 12:13:52 -06:00
<a href="https://github.com/chrisaljoudi/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>
2015-02-01 13:06:40 -07:00
#### Quick tests
2015-02-01 12:52:01 -07:00
2015-02-01 13:06:40 -07:00
- [Index](http://raymondhill.net/ublock/tests.html)
2015-02-01 12:52:01 -07:00
- [Web page components](http://raymondhill.net/ublock/tiles1.html)
- [Popups](http://raymondhill.net/ublock/popup.html)
2014-06-22 18:00:34 -06:00
## Installation
2015-04-01 12:13:52 -06:00
Feel free to read [about the extension's required permissions](https://github.com/chrisaljoudi/uBlock/wiki/About-the-required-permissions).
2015-01-16 20:47:40 -07:00
#### Chromium
2015-04-01 12:13:52 -06:00
You can install the latest version [manually](https://github.com/chrisaljoudi/uBlock/tree/master/dist#install), from the [Chrome Web Store](https://chrome.google.com/webstore/detail/cjpalhdlnbpafiamejdnhcphjbkeiagm), or from the [Opera store](https://addons.opera.com/en-gb/extensions/details/ublock/).
2015-01-16 20:43:37 -07:00
#### Firefox
2015-04-01 12:13:52 -06:00
Install from [Firefox Add-ons homepage](https://addons.mozilla.org/en-US/firefox/addon/ublock/), or you can install by downloading the latest [uBlock.firefox.xpi](https://github.com/chrisaljoudi/uBlock/releases) file, and by dragging the downloaded `xpi` file to your add-on page.
2015-03-31 12:48:24 -06:00
<sup>**Note:** When a new version is submitted at _Mozilla Add-ons_ (AMO), it takes **weeks** for that submission to be reviewed and cleared. Any new submission would cancel the pending one, and the new one would be placed at the end of the reviewing queue. So that the version on AMO is way behind the latest release here is completely out of control of the developers.</sup>
2015-01-16 20:43:37 -07:00
#### Safari
2015-04-01 12:13:52 -06:00
Install the latest uBlock for Safari [from its homepage](https://chrismatic.io/ublock/), or a potentially-outdated version from the [Safari Extension Gallery](https://extensions.apple.com/details/?id=net.chrisaljoudi.uBlock-96G4BAKDQ9).
2015-03-04 19:05:36 -07:00
<sup>Safari 6.1 and later (developed on Safari 8/Yosemite; tested on 6.1/Mountain Lion and 7/Mavericks).</sup>
2015-01-16 20:43:37 -07:00
#### Note for all browsers
2014-06-22 18:00:34 -06:00
2015-03-07 14:20:52 -07:00
To benefit from uBlock'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.
2014-06-23 22:38:26 -06:00
## Release History
2015-04-01 12:13:52 -06:00
See the [releases pages](https://github.com/chrisaljoudi/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-03-07 14:20:52 -07:00
[uBlock's manifesto](MANIFESTO.md).
2015-04-01 14:45:46 -06:00
Free. Open source. For users by users.
2014-08-25 16:51:39 -06:00
2015-04-01 14:45:46 -06:00
If uBlock is useful to you, [donations to support development are much appreciated](https://chrismatic.io/ublock/).
uBlock is made useful because of the filter lists it utilizes. We deeply appreciate
the people working hard to maintain the filter lists we're using,
which were made available to use by all for free.
2015-03-07 14:20:52 -07: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
2015-04-01 12:13:52 -06:00
[GPLv3](https://github.com/chrisaljoudi/uBlock/blob/master/LICENSE.txt).