1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-29 06:07:11 +02:00
uBlock/README.md

139 lines
6.9 KiB
Markdown
Raw Normal View History

2015-05-01 03:27:53 +02:00
<table width="100%">
2015-05-01 03:44:44 +02:00
<tr>
<td align="left" width="70">
<a href = "https://chrismatic.io/ublock/">
<img src="https://raw.githubusercontent.com/chrisaljoudi/uBlock/master/doc/img/gh-header.png"
height="64">
</a>
</td>
<td align="right" width="20%">
<a href="https://travis-ci.org/chrisaljoudi/uBlock">
<img src="https://travis-ci.org/chrisaljoudi/uBlock.svg?branch=master" alt="Build status">
</a>
<a href="https://chrismatic.io/donate">
<img src="https://chrismatic.io/oncedonate.svg" alt="Support development">
</a>
</td>
</tr>
<tr>
<td colspan="2">
<strong><a href="https://chrismatic.io/ublock/">uBlock</a></strong>: an efficient blocker extension for your browser. Fast, potent, and lean.
</td>
</tr>
2015-05-01 03:27:53 +02:00
</table>
2015-05-01 02:24:04 +02:00
2015-05-12 00:54:18 +02:00
> <sub>uBlock comes in two sibling flavors: this project, and <a href="https://github.com/gorhill/uBlock">uBlock Origin</a>.</sub>
2015-05-01 03:44:44 +02:00
<br>
2015-05-12 01:02:19 +02:00
<sup>Differing features — same performance. Both free, open-source, and share the contributions of many.</sup>
2015-04-02 00:31:10 +02:00
2015-04-01 23:28:04 +02:00
2015-04-01 23:02:09 +02:00
* [What is uBlock?](#what-is-ublock)
2015-05-12 01:02:51 +02:00
* [Installing uBlock](#getting-started)
2015-04-01 23:28:04 +02:00
* [Performance & Benchmarks](#performance)
* [Release History](#release-history)
2015-04-01 23:28:04 +02:00
* [Tips](#tips)
2015-04-01 20:13:52 +02:00
* [Wiki](https://github.com/chrisaljoudi/uBlock/wiki)
2014-06-23 02:00:34 +02:00
2015-04-01 23:02:09 +02:00
## What is uBlock?
2014-09-19 16:16:34 +02:00
2015-04-01 23:02:09 +02:00
uBlock is a general-purpose blocker — not an *ad blocker* specifically.
2014-09-19 16:16:34 +02:00
2015-04-01 23:02:09 +02:00
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 16:16:34 +02:00
2015-04-01 23:02:09 +02:00
uBlock's main goal is to help users neutralize privacy-invading apparatus — ads being one example.
2015-04-24 01:21:03 +02:00
[Feel free to read about uBlock's development philosophy](https://chrismatic.io/ublock/philosophy).
2015-04-01 23:37:20 +02:00
## Getting started
[Quick guide for basic usage](https://github.com/chrisaljoudi/uBlock/wiki/Quick-guide:-popup-user-interface).
2015-04-02 02:07:15 +02:00
#### Installation:
2015-04-01 23:28:04 +02:00
* **Safari**: available to install [from the homepage](https://chrismatic.io/ublock/safari/), or from the [Safari Extension Gallery](https://extensions.apple.com/details/?id=net.gorhill.uBlock-96G4BAKDQ9).
2015-04-01 23:28:04 +02:00
2015-04-02 02:13:48 +02:00
* **Chrome**: available on the [Chrome Web Store](https://chrome.google.com/webstore/detail/ublock/epcnnfbjfcgphgdmggkamkmgojdagdnn) or for [manual](https://github.com/chrisaljoudi/uBlock/tree/master/dist#install) installation.
2015-04-02 18:11:27 +02:00
* **Firefox**: available on the [Firefox Add-ons homepage](https://addons.mozilla.org/en-US/firefox/addon/ublock/), or for [manual](https://github.com/chrisaljoudi/uBlock/releases) installation.
2015-04-01 23:28:04 +02:00
2015-04-02 18:11:27 +02:00
* Due to Mozilla's review process, the version of uBlock available from the Add-ons homepage is currently often outdated. This isn't in our control.
2015-04-01 23:28:04 +02:00
2015-05-06 01:03:33 +02:00
* **Opera**: Opera shares Chrome's underlying engine, so you can install uBlock simply by grabbing the [latest release for Chrome](https://github.com/chrisaljoudi/uBlock/releases/latest).
2015-01-17 04:43:37 +01:00
## Performance
2015-01-17 04:43:37 +01:00
#### Memory
2014-08-24 22:30:48 +02:00
<div align="center">
2015-03-07 22:20:52 +01:00
On average, uBlock <b>really</b> does make your browser run leaner. <sup>[1]</sup><br><br>
2015-02-06 15:04:39 +01:00
Chromium <sup>[2]</sup><br>
2015-04-01 20:13:52 +02: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 20:13:52 +02:00
<img src="https://raw.githubusercontent.com/chrisaljoudi/uBlock/master/doc/benchmarks/mem-usage-overall-chart-20150205.png" /><br><br>
2015-02-06 14:39:41 +01:00
Safari<br>
2015-04-01 20:13:52 +02:00
<img src="https://raw.githubusercontent.com/chrisaljoudi/uBlock/master/doc/benchmarks/mem-usage-overall-chart-safari-20150205.png" /><br><br>
2015-02-06 14:39:41 +01:00
</div>
2014-06-23 02:00:34 +02:00
2015-04-01 20:13:52 +02: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 15:00:44 +01:00
2015-02-06 15:04:39 +01: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 15:00:44 +01:00
2015-01-17 04:43:37 +01:00
#### CPU
2014-12-27 18:30:50 +01:00
2014-06-26 18:48:32 +02:00
<p align="center">
2015-03-07 22:20:52 +01:00
uBlock is also easy on the CPU<br>
2015-04-01 20:13:52 +02: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 22:57:37 +02:00
</p>
2014-06-24 17:10:13 +02:00
2015-01-17 04:43:37 +01:00
#### Blocking
2014-07-15 16:56:35 +02:00
<p align="center">
Being lean and efficient doesn't mean blocking less<br>
2015-04-01 20:13:52 +02: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 20:13:52 +02: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 16:56:35 +02:00
</p>
2015-02-01 21:06:40 +01:00
#### Quick tests
2015-02-01 20:52:01 +01:00
2015-02-01 21:06:40 +01:00
- [Index](http://raymondhill.net/ublock/tests.html)
2015-02-01 20:52:01 +01:00
- [Web page components](http://raymondhill.net/ublock/tiles1.html)
- [Popups](http://raymondhill.net/ublock/popup.html)
2015-04-01 23:28:04 +02:00
## Release History
2015-04-01 23:28:04 +02:00
See the [releases pages](https://github.com/chrisaljoudi/uBlock/releases) for a history of releases and highlights for each release.
2015-04-01 23:28:04 +02:00
## Tips
2015-03-31 20:48:24 +02:00
2015-04-01 23:28:04 +02: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.
2015-04-01 23:28:04 +02:00
* It's important to note that blocking ads [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.
2015-04-01 23:28:04 +02: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-05 03:05:36 +01:00
2015-04-01 23:28:04 +02:00
* Once you install uBlock, you can 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-04-01 23:28:04 +02:00
* Feel free to read [about the extension's required permissions](https://github.com/chrisaljoudi/uBlock/wiki/About-the-required-permissions).
2014-07-30 00:07:36 +02:00
2014-06-23 02:00:34 +02:00
## About
2015-03-07 22:20:52 +01:00
[uBlock's manifesto](MANIFESTO.md).
2015-04-01 22:45:46 +02:00
Free. Open source. For users by users.
2014-08-26 00:51:39 +02:00
2015-04-01 22:45:46 +02: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.
2014-06-23 02:00:34 +02:00
## License
2015-04-01 20:13:52 +02:00
[GPLv3](https://github.com/chrisaljoudi/uBlock/blob/master/LICENSE.txt).