1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-06 02:42:33 +01:00
uBlock/README.md

95 lines
5.4 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
2014-07-18 01:36:11 +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-09-19 16:18:45 +02: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 [HTTP Switchboard](https://github.com/gorhill/httpswitchboard#http-switchboard-for-chromium).
2014-08-24 22:30:48 +02:00
2014-06-26 18:48:32 +02:00
<p align="center">
2014-07-05 23:00:35 +02:00
µBlock: page loaded. ABP: page still loading.<br>
<img src="https://raw.githubusercontent.com/gorhill/uBlock/master/doc/img/abp-vs-ublock-page-1.png" /><br>
2014-07-15 16:56:35 +02:00
<sup>Image excerpted from https://www.youtube.com/watch?v=SzJr4hmPlgQ.</sup>
</p>
2014-06-23 02:00:34 +02:00
2014-06-26 18:48:32 +02:00
<p align="center">
2014-07-05 22:57:37 +02:00
Chromium on Linux 64-bit<br>
<img src="https://raw.githubusercontent.com/gorhill/uBlock/master/doc/img/ss-chromium-2.png" /><br><br>
2014-06-30 16:49:06 +02:00
<sup>The screenshots above were taken after visiting links in
2014-07-15 17:01:21 +02:00
<a href="https://github.com/gorhill/uBlock/wiki/Reference-benchmark">reference benchmark</a>
2014-06-30 16:49:06 +02:00
plus a bit of random browsing. All blockers were active at the same time,
thus they had to deal with exactly the same workload. Before the screenshots were
2014-06-24 17:10:13 +02:00
taken, I left the browser idle for many minutes so as to let the browser's
garbage collector kicks in. Also, after a while idling, it's good to open the dev
console for each extension and force a garbage collection cycle by clicking a couple of times
the trashcan icon in the _Timeline_ tab (this caused a ~15MB drop for µBlock and Adguard in Opera)
2014-06-27 00:11:57 +02:00
as garbage collectors sometimes work in a very lazy way, so I did this for each extension.</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-06-24 04:08:05 +02:00
From the [Chrome store](https://chrome.google.com/webstore/detail/µblock/cjpalhdlnbpafiamejdnhcphjbkeiagm),
2014-07-08 15:15:36 +02:00
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
2014-06-24 06:38:26 +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
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
2014-06-24 16:59:18 +02:00
which can be extracted from the URL address of the current page**. (It applies to
2014-06-24 17:04:05 +02:00
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
2014-06-23 02:09:30 +02:00
blocker which support EasyList and the likes, and also support host files.
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.
2014-06-26 22:32:35 +02:00
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
2014-06-26 22:33:36 +02:00
to maintain the filter lists you are using, which were made available to use by
all for free.
2014-07-05 22:03:59 +02:00
You may contribute by helping to translate this project. I created an
[entry on Crowdin](https://crowdin.net/project/ublock), where you may contribute
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).