1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-07 03:12:33 +01:00
uBlock/README.md

88 lines
5.5 KiB
Markdown
Raw Normal View History

2014-06-23 02:00:34 +02:00
# µBlock for Chromium
2014-10-04 03:43:28 +02:00
**Foreword:** Using a blocker is **NOT** [theft](https://twitter.com/LeaVerou/status/518154828166725632). Do not fall for this creepy idea. The _ultimate_ logical consequence of "blocking = theft" is the criminalisation of the inalienable right to privacy.
2014-10-04 03:42:18 +02:00
See [releases page](https://github.com/gorhill/uBlock/releases) for recent changes.
2014-06-30 00:22:19 +02:00
See [Wiki](https://github.com/gorhill/uBlock/wiki) for more information.
2014-06-23 02:00:34 +02:00
An efficient blocker for Chromium-based browsers. Fast and lean. Written from scratch. Development
2014-07-26 19:31:22 +02:00
through benchmarking.
2014-06-23 02:00:34 +02:00
2014-09-25 17:55:18 +02:00
**µBlock is not an "ad blocker", it's a blocker in the broad sense**, which happens to block ads through its support of [Adblock Plus filter syntax](https://adblockplus.org/en/filters). µBlock [extends](https://github.com/gorhill/uBlock/wiki/Filter-syntax-extensions) the syntax.
2014-09-19 16:16:34 +02:00
2014-10-04 18:13:15 +02:00
_EasyList_, _Peter Lowe's Adservers_ , _EasyPrivacy_ and _Fanboy's Social Block List_ are enabled by default when you install µBlock. Many more lists are readily available to protect yourself from trackers, analytics, data mining, and more ads. Hosts files are supported.
2014-09-19 16:16:34 +02:00
2014-10-04 19:35:58 +02:00
Ads are just the visible portions of privacy-invading apparatus entering your browser when you visit most sites nowadays.
2014-09-19 16:16:34 +02:00
2014-11-04 16:01:13 +01:00
My main goal with µBlock is to help users neutralize as much as can be privacy-invading apparatus (of which ads, "unintrusive" or not, are just the visible portion) for users who do not want to deal with more technical means like [µMatrix](https://github.com/gorhill/uMatrix).
2014-08-24 22:30:48 +02:00
2014-06-26 18:48:32 +02:00
<p align="center">
2014-12-26 18:08:06 +01:00
µBlock: on average, it <b>really</b> does make your browser run leaner<br>
<img src="https://raw.githubusercontent.com/gorhill/uBlock/master/doc/benchmarks/mem-usage-overall-chart-20141224.png" /><br>
<sup>Details of the benchmark available in <a href="https://github.com/gorhill/uBlock/blob/master/doc/benchmarks/mem-usage-overall-20141224.ods">this LibreOffice spreadsheet</a>.</sup>
2014-07-15 16:56:35 +02:00
</p>
2014-06-23 02:00:34 +02:00
2014-12-27 18:30:50 +01:00
[**Important note re memory usage**: 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 *all* extensions. Just so you are informed memory figures won't be too reliable as soon as you opened even only once the popup UI of an extension. (In all my benchmarks I of course avoided to do this).]
2014-06-26 18:48:32 +02:00
<p align="center">
2014-12-26 18:08:06 +01:00
µBlock: it is also easy on the CPU<br>
<img src="https://raw.githubusercontent.com/gorhill/uBlock/master/doc/benchmarks/cpu-usage-overall-chart-20141226.png" /><br>
2014-12-26 19:10:24 +01:00
<sup>This gives an idea of the CPU overhead added by extensions relative to each other.<br>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 22:57:37 +02:00
</p>
2014-06-24 17:10:13 +02:00
2014-07-15 16:56:35 +02:00
<p align="center">
Being lean doesn't mean blocking less.<br>
2014-10-09 15:24:04 +02:00
<img src="https://raw.githubusercontent.com/gorhill/uBlock/master/doc/benchmarks/privex-201409-30.png" /><br>
<sup>For details of benchmark, see latest
2014-07-15 17:01:54 +02:00
<a href="https://github.com/gorhill/uBlock/wiki/%C2%B5Block-and-others:-Blocking-ads,-trackers,-malwares">µBlock and others: Blocking ads, trackers, malwares</a>.
2014-07-15 16:56:35 +02:00
</p>
2014-06-23 02:00:34 +02:00
## Installation
2014-12-03 14:12:37 +01:00
From the [Chrome store](https://chrome.google.com/webstore/detail/cjpalhdlnbpafiamejdnhcphjbkeiagm), the [Opera store](https://addons.opera.com/en-gb/extensions/details/ublock/), or [manually](https://github.com/gorhill/uBlock/tree/master/dist#install).
2014-06-23 02:00:34 +02:00
To benefit from the higher efficiency, it is of course not advised to use an
inefficient blocker at the same time. µBlock will do as well or better than the
2014-06-24 06:38:26 +02:00
popular blockers out there.
2014-07-30 00:07:36 +02:00
Also of interest: [About the required permissions](https://github.com/gorhill/uBlock/wiki/About-the-required-permissions).
2014-06-24 16:52:44 +02:00
## Documentation
2014-06-24 17:20:15 +02:00
I think it is pretty obvious, except for this I suppose:
2014-06-24 16:52:44 +02:00
2014-10-13 16:13:55 +02:00
![Popup](https://raw.githubusercontent.com/gorhill/uBlock/master/doc/img/popup-1.png)&emsp; ![Popup](https://raw.githubusercontent.com/gorhill/uBlock/master/doc/img/popup-2.png)
2014-06-24 16:52:44 +02:00
2014-06-28 07:21:04 +02:00
The big power button is to disable/enable µBlock **for the specific hostname
which can be extracted from the URL address of the current page**. (It applies to
the current web site only, it is **not** a global power button.) The state of the power
2014-06-24 16:59:18 +02:00
switch for a specific site will be remembered.
2014-06-24 16:52:44 +02:00
2014-10-13 16:18:15 +02:00
The right-hand screenshot shows optional [dynamic filtering](https://github.com/gorhill/uBlock/wiki/Dynamic-filtering) at work.
2014-06-23 02:00:34 +02:00
## About
µBlock is born out of [HTTP Switchboard](https://github.com/gorhill/httpswitchboard).
All the niceties of HTTPSB have been removed, and what is left is a straightforward
blocker which support EasyList and the likes, and also support host files.
2014-06-23 02:09:30 +02:00
Cosmetic filters ("element hiding") are supported.
2014-06-23 02:00:34 +02:00
There is nothing more to it. But it does what popular blockers out there do, at a
fraction of CPU and memory usage for the same blocking power. Also, no unique user id
2014-07-09 17:34:58 +02:00
and no home means no phoning home (some popular blockers do this, just be careful).
2014-06-23 02:00:34 +02:00
2014-08-26 00:51:39 +02: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 22:33:36 +02:00
all for free.
You may contribute by helping to translate this project. I created an
[entry on Crowdin](https://crowdin.net/project/ublock), where you may contribute
2014-07-05 22:03:59 +02:00
to the translation work.
2014-06-23 02:00:34 +02:00
## License
2014-06-24 07:55:32 +02:00
[GPLv3](https://github.com/gorhill/uBlock/blob/master/LICENSE.txt).