1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-24 03:12:46 +01:00

Merge branch 'patch-2'

This commit is contained in:
Raymond Hill 2022-11-15 09:50:55 -05:00
commit 2c0ecc0bad
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

137
README.md
View File

@ -1,4 +1,3 @@
[![Badge Commits]][Commit Rate] [![Badge Commits]][Commit Rate]
[![Badge Issues]][Issues] [![Badge Issues]][Issues]
[![Badge Localization]][Crowdin] [![Badge Localization]][Crowdin]
@ -11,16 +10,16 @@
<h1 align="center"> <h1 align="center">
<sub> <sub>
<img src="https://github.com/gorhill/uBlock/blob/master/src/img/ublock.svg" height="38" width="38"> <img src="https://github.com/gorhill/uBlock/blob/master/src/img/ublock.svg" height="38" width="38">
</sub> </sub>
uBlock Origin uBlock Origin (uBO)
</h1> </h1>
<p align="center"> <p align="center">
<sup> <!-- Pronunciation --> <sup>
pronounced <i>you-block origin</i> (<code>/ˈjuːˌblɒk/</code>)<i>you</i> decide what enters your browser. Pronounced <i>you-block origin</i> (<code>/ˈjuːˌblɒk/</code>). <i>You</i> decide what enters your browser.
</sup> </sup>
<br> <br>
<sub><a href="https://github.com/gorhill/uBlock/wiki/uBlock-Origin-is-completely-unrelated-to-the-web-site-ublock.org"><b>BEWARE!</b> uBlock Origin is (and has always been) COMPLETELY UNRELATED to the web site <code>ublock.org</code></a>.</sub> <sub><a href="https://github.com/gorhill/uBlock/wiki/uBlock-Origin-is-completely-unrelated-to-the-web-site-ublock.org"><b>BEWARE!</b> uBO is (and has always been) COMPLETELY UNRELATED to the website <code>ublock.org</code></a>.</sub>
</p> </p>
*** ***
@ -30,15 +29,11 @@ uBlock Origin
<a href="https://chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm"><img src="https://user-images.githubusercontent.com/585534/107280622-91a8ea80-6a26-11eb-8d07-77c548b28665.png" alt="Get uBlock Origin for Chromium"></a> <a href="https://chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm"><img src="https://user-images.githubusercontent.com/585534/107280622-91a8ea80-6a26-11eb-8d07-77c548b28665.png" alt="Get uBlock Origin for Chromium"></a>
<a href="https://microsoftedge.microsoft.com/addons/detail/ublock-origin/odfafepnkmbhccpbejgmiehpchacaeak"><img src="https://user-images.githubusercontent.com/585534/107280673-a5ece780-6a26-11eb-9cc7-9fa9f9f81180.png" alt="Get uBlock Origin for Microsoft Edge"></a> <a href="https://microsoftedge.microsoft.com/addons/detail/ublock-origin/odfafepnkmbhccpbejgmiehpchacaeak"><img src="https://user-images.githubusercontent.com/585534/107280673-a5ece780-6a26-11eb-9cc7-9fa9f9f81180.png" alt="Get uBlock Origin for Microsoft Edge"></a>
<a href="https://addons.opera.com/extensions/details/ublock/"><img src="https://user-images.githubusercontent.com/585534/107280692-ac7b5f00-6a26-11eb-85c7-088926504452.png" alt="Get uBlock Origin for Opera"></a> <a href="https://addons.opera.com/extensions/details/ublock/"><img src="https://user-images.githubusercontent.com/585534/107280692-ac7b5f00-6a26-11eb-85c7-088926504452.png" alt="Get uBlock Origin for Opera"></a>
<br><sub><a href="https://twitter.com/gorhill/status/1033706103782170625">Do <b>not</b> use uBlock Origin along with other similarly-purposed blockers</a>.</sub>
<br><sub>See below for <a href="#installation">more installation options.</a></sub>
</p> </p>
*** ***
**An efficient blocker add-on for various browsers. Fast, potent, and lean.** uBO is **NOT** an "ad blocker"; it is a [wide-spectrum content blocker][Blocking] for Chromium and Firefox with CPU and memory efficiency as primary features. When newly installed, the default behavior of uBO is to block ads, trackers, and malware sites through [EasyList][EasyList], [EasyPrivacy][EasyPrivacy], [Peter Lowe's Blocklist][Peter Lowe's Blocklist], [Online Malicious URL Blocklist][Malicious Blocklist], and uBO's [filter lists][uBO Filters].
uBlock Origin is **NOT** an "ad blocker": [it is a wide-spectrum blocker][Blocking] -- 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_][EasyList], [_EasyPrivacy_][EasyPrivacy], [_Peter Lowes ad/tracking/malware servers_][Peters List], [_Online Malicious URL Blocklist_][Malicious Blocklist], and uBlock Origin's [own filter lists][UBlock Filters].
*** ***
@ -46,129 +41,114 @@ uBlock Origin is **NOT** an "ad blocker": [it is a wide-spectrum blocker][Blocki
* [Purpose & General Info](#philosophy) * [Purpose & General Info](#philosophy)
* [Installation](#installation) * [Installation](#installation)
* [Chromium](#chromium) * [Chromium](#chromium)
* [Firefox](#firefox--firefox-for-android) * [Firefox](#firefox--firefox-for-android--firefox-legacy)
* [Microsoft Edge](#microsoft-edge)
- [Safari (macOS)](#safari-macos)
* [Release History](#release-history) * [Release History](#release-history)
* [Privacy policy] * [Privacy Policy]
* [Wiki](https://github.com/gorhill/uBlock/wiki) * [Wiki](https://github.com/gorhill/uBlock/wiki)
## Documentation ## Documentation
Basic mode | Advanced-user mode Basic mode | Advanced-user mode
:----------:|:------------------: :----------:|:------------------:
[Popup user interface] | [A point-and-click firewall which can be configured on a per-site basis][Dynamic Filters] [Popup user interface] | [A point-and-click firewall that is configurable on a per-site basis][Dynamic Filters]
<a href="https://github.com/gorhill/uBlock/wiki/Quick-guide:-popup-user-interface"><img src="https://user-images.githubusercontent.com/585534/84045360-b10ee580-a976-11ea-9e91-29c2107b47c2.png" /></a><br><sup>.<br>.</sup> | <a href="https://github.com/gorhill/uBlock/wiki/Dynamic-filtering:-quick-guide"><img src="https://user-images.githubusercontent.com/585534/84045366-b1a77c00-a976-11ea-9121-e8c8f35c66c8.png" /></a><br><sup>Configure as you wish:<br>picture shows 3rd-party scripts and frames blocked by default everywhere</sup> <a href="https://github.com/gorhill/uBlock/wiki/Quick-guide:-popup-user-interface"><img src="https://user-images.githubusercontent.com/585534/84045360-b10ee580-a976-11ea-9e91-29c2107b47c2.png"/></a><br><sup>.<br>.</sup> | <a href="https://github.com/gorhill/uBlock/wiki/Dynamic-filtering:-quick-guide"><img src="https://user-images.githubusercontent.com/585534/84045366-b1a77c00-a976-11ea-9121-e8c8f35c66c8.png"/></a><br><sup>Configure as you wish.<br>The image shows 3rd-party scripts and frames blocked by default everywhere.</sup>
Visit the [uBlock Origin's wiki][Wiki] for documentation. Visit the [wiki][Wiki] for documentation.
For support/questions/help, there is [/r/uBlockOrigin][Reddit] on Reddit. For any support, questions or help, visit [/r/uBlockOrigin][Reddit].
## Philosophy ## Philosophy
uBlock Origin (or uBlock₀) is not an *ad blocker*; it's a general-purpose blocker. uBlock Origin blocks ads through its support of the [Adblock Plus filter syntax][How To Filters]. uBlock Origin [extends][Extended Syntax] the syntax and is designed to work with custom rules and filters. Furthermore, advanced mode allows uBlock Origin to work in [default-deny mode][Default Deny], which mode will cause [all 3rd-party network requests][3rd Party Requests] to be blocked by default, unless allowed by the user. uBO is **NOT** an "ad blocker"; it is a wide-spectrum content blocker. uBO blocks ads through the EasyList filter syntax and [extends][Extended Syntax] the syntax to work with custom rules and filters. Furthermore, the advanced mode allows uBO to work in [default-deny mode][Default Deny], which will cause [all 3rd-party network requests][3rd Party Requests] to be blocked by default unless allowed by the user.
That said, it's important to note that using a blocker is **NOT** [theft]. Don't fall for this creepy idea. The _ultimate_ logical consequence of `blocking = theft` is the criminalisation of the inalienable right to privacy. It is important to note that using a blocker is **NOT** [theft]. Do not fall for this creepy idea. The _ultimate_ logical consequence of `blocking = theft` is the criminalization of the inalienable right to privacy.
Ads, "unintrusive" or not, are just the visible portions of privacy-invading apparatus entering your browser when you visit most sites nowadays. **uBlock Origin'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 [uMatrix]). Ads, "unintrusive" or not, are just the visible portion of the privacy-invading means entering your browser when you visit most sites. **uBO's primary goal is to help users neutralize these privacy-invading methods** in a way that welcomes those users who do not wish to use more technical, involved means (such as [uMatrix]).
_EasyList_, _EasyPrivacy_, _Peter Lowe's_, _Online Malicious URL Blocklist_ and uBO's own lists are enabled by default when you install uBlock Origin. Many more lists are readily available to block trackers, analytics, and more. Hosts files are also supported. EasyList, EasyPrivacy, Peter Lowe's Blocklist, Online Malicious URL Blocklist, and uBO's filter lists are enabled by default when you install uBO. Many other lists are available to block trackers, analytics, and more. Hosts files are also supported.
Once you install uBlock Origin, you may easily un-select any of the pre-selected filter lists if you think uBlock Origin blocks too much. For reference, Adblock Plus installs with only _EasyList_, _ABP filters_ and _Acceptable Ads_ enabled by default. Once you install uBO, you may easily unselect any preselected filter lists if you think uBO blocks too much. For reference, Adblock Plus installs with only EasyList, ABP filters, and Acceptable Ads enabled by default.
## Installation ## Installation
Feel free to read [about the extension's required permissions][Permissions]. [Required Permissions][Permissions]
#### Chromium #### Chromium
You can install the latest version [manually][Manual Installation], from the [Chrome Web Store][Chrome], or from the [Opera add-ons][Opera]. [Chrome Web Store][Chrome]
There is also a development version in the Chrome Web Store if you want to test uBlock Origin with the latest changes: see [_uBlock Origin dev build_][Chrome Dev]. [Microsoft Edge Add-ons][Edge] (Published by: [Nicole Rolls][Nicole Rolls])
It is expected that uBlock Origin is compatible with any Chromium-based browsers. [Opera Add-ons][Opera]
#### Firefox / Firefox for Android [Manual Installation][Manual Installation]
[Firefox Add-ons web site][Mozilla]. [Development Build][Chrome Dev]
There is also a development version if you want to test uBlock Origin with the latest changes: for installation, see [Install / Firefox webext / For beta version][Beta] uBO should be compatible with any Chromium-based browser.
uBlock Origin is compatible with [SeaMonkey], [Pale Moon], and possibly other browsers based on Firefox: for installation, see [Install / Firefox legacy][Firefox Legacy]. #### Firefox / Firefox for Android / Firefox Legacy
uBO may also be installed as a [Debian package][Debian Package]: [Firefox Add-ons][Mozilla]
[Development Build][Beta]
[uBO Firefox Legacy][Firefox Legacy]
uBO Firefox Legacy should be compatible with [SeaMonkey], [Pale Moon], or any other browsers based on Firefox.
[Debian Package][Debian Package]
uBO also can be installed as a Debian package.
- Firefox 56-: `apt-get install xul-ext-ublock-origin` - Firefox 56-: `apt-get install xul-ext-ublock-origin`
- Firefox 55+: `apt-get install webext-ublock-origin` - Firefox 55+: `apt-get install webext-ublock-origin`
There is no guarantee the package will be available on your specific platform -- in which case, you will have to install from [Firefox Add-ons web site][Mozilla]. There is no guarantee that the package will be available on your specific platform, in which case, you will have to install it from [Firefox Add-ons][Mozilla].
#### Microsoft Edge #### All Browsers
Publisher: [Nicole Rolls]. Do **NOT** use any other content blocker concurrently with uBO to benefit from uBO's higher efficiency. uBO will [perform][Performance] as well as or better than most of the other popular ad blockers. Other blockers can prevent uBO's privacy or anti-blocker-defusing features from working correctly.
Chromium-based Edge: Stable version available in [Microsoft Edge Add-ons][Edge]. Do **NOT** use uBO along with other [similarly-purposed blockers][Similarly-Purposed].
#### Safari (macOS) #### Enterprise Deployment
Developer: [@el1t]. [Deploying uBO][Deployment]
Development version available at <https://github.com/el1t/uBlock-Safari#ublock-originfor-safari>.
Warning: It is not possible for extensions like uBlock Origin to work with Safari 13+. See <https://github.com/el1t/uBlock-Safari/issues/158>.
Note that issues specific to the Safari fork are the responsibility of the current maintainer, I have no control over the code base of the fork.
#### Note for all browsers
To benefit from uBlock Origin's higher efficiency, it's advised that you don't use other content blockers at the same time (such as Adblock Plus, AdBlock). uBlock Origin will do [as well or better][Performance] than most popular ad blockers. Other blockers can also prevent uBlock Origin's privacy or anti-blocker-defusing features from working properly.
#### Deploying
Below is documentation to assist administrators in deploying uBlock Origin:
- [Deploying uBlock Origin][Deploying]
- Firefox: [Deploying uBlock Origin for Firefox with CCK2 and Group Policy][Deploy Firefox] (external)
- Google Chrome: [Managing Google Chrome with adblocking and security][Deploy Chrome] (external)
## Release History ## Release History
See the [releases pages][Releases] for a history of releases and highlights for each release. [Releases Page][Releases]
## About ## About
[uBlock Origin's manifesto][Manifesto]. [Manifesto][Manifesto]
Free. Open source. For users by users. No donations sought. Free. Open source. For users by users. No donations sought.
Without the preset lists of filters, this extension is nothing. So if ever you Without the preset filter lists, this extension is nothing. If you ever 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 all for free.
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
all for free.
You can contribute by helping translate uBlock Origin on [Crowdin]. You can help contribute by translating uBO on [Crowdin].
## License ## License
[GPLv3][License]. [GPLv3][License]
<!-----------------------------------------------------------------------------> <!----------------------------------------------------------------------------->
[Malicious Blocklist]: https://gitlab.com/curben/urlhaus-filter#urlhaus-malicious-url-blocklist [Peter Lowe's Blocklist]: https://pgl.yoyo.org/adservers/
[Malicious Blocklist]: https://gitlab.com/malware-filter/urlhaus-filter#malicious-url-blocklist
[3rd Party Requests]: https://requestpolicycontinued.github.io/#what-are-cross-site-requests [3rd Party Requests]: https://requestpolicycontinued.github.io/#what-are-cross-site-requests
[How To Filters]: https://help.eyeo.com/en/adblockplus/how-to-write-filters [Similarly-Purposed]: https://twitter.com/gorhill/status/1033706103782170625
[Deploy Firefox]: https://decentsecurity.com/ublock-for-firefox-deployment/
[Debian Package]: https://packages.debian.org/stable/source/ublock-origin [Debian Package]: https://packages.debian.org/stable/source/ublock-origin
[Deploy Chrome]: https://decentsecurity.com/ublock-for-google-chrome-deployment/
[Performance]: https://www.debugbear.com/blog/chrome-extension-performance-2021#how-do-ad-blockers-and-privacy-tools-affect-browser-performance [Performance]: https://www.debugbear.com/blog/chrome-extension-performance-2021#how-do-ad-blockers-and-privacy-tools-affect-browser-performance
[Peters List]: https://pgl.yoyo.org/adservers/policy.php [EasyPrivacy]: https://easylist.to/#easyprivacy
[EasyPrivacy]: https://easylist.github.io/#easyprivacy [Chrome Dev]: https://chrome.google.com/webstore/detail/ublock-origin-development/cgbcahbpdhpcegmbfconppldiemgcoii
[Chrome Dev]: https://chrome.google.com/webstore/detail/ublock-origin-dev-build/cgbcahbpdhpcegmbfconppldiemgcoii
[SeaMonkey]: https://www.seamonkey-project.org/ [SeaMonkey]: https://www.seamonkey-project.org/
[Pale Moon]: https://www.palemoon.org/ [Pale Moon]: https://www.palemoon.org/
[EasyList]: https://easylist.github.io/#easylist [EasyList]: https://easylist.to/#easylist
[Mozilla]: https://addons.mozilla.org/firefox/addon/ublock-origin/ [Mozilla]: https://addons.mozilla.org/addon/ublock-origin/
[Crowdin]: https://crowdin.com/project/ublock [Crowdin]: https://crowdin.com/project/ublock
[Chrome]: https://chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm [Chrome]: https://chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm
[Reddit]: https://www.reddit.com/r/uBlockOrigin/ [Reddit]: https://www.reddit.com/r/uBlockOrigin/
@ -180,8 +160,7 @@ You can contribute by helping translate uBlock Origin on [Crowdin].
[Manifesto]: MANIFESTO.md [Manifesto]: MANIFESTO.md
[License]: LICENSE.txt [License]: LICENSE.txt
[Nicole Rolls]: https://github.com/nicole-ashley/uBlock-Edge [Nicole Rolls]: https://github.com/nicole-ashley
[@el1t]: https://github.com/el1t
<!---------------------------------[ Internal ]--------------------------------> <!---------------------------------[ Internal ]-------------------------------->
@ -190,13 +169,13 @@ You can contribute by helping translate uBlock Origin on [Crowdin].
[Manual Installation]: https://github.com/gorhill/uBlock/tree/master/dist#install [Manual Installation]: https://github.com/gorhill/uBlock/tree/master/dist#install
[Extended Syntax]: https://github.com/gorhill/uBlock/wiki/Static-filter-syntax#extended-syntax [Extended Syntax]: https://github.com/gorhill/uBlock/wiki/Static-filter-syntax#extended-syntax
[Dynamic Filters]: https://github.com/gorhill/uBlock/wiki/Dynamic-filtering:-quick-guide [Dynamic Filters]: https://github.com/gorhill/uBlock/wiki/Dynamic-filtering:-quick-guide
[Firefox Legacy]: https://github.com/gorhill/uBlock/blob/master/dist/README.md#firefox-legacy [Firefox Legacy]: https://github.com/gorhill/uBlock-for-firefox-legacy
[Privacy Policy]: https://github.com/gorhill/uBlock/wiki/Privacy-policy [Privacy Policy]: https://github.com/gorhill/uBlock/wiki/Privacy-policy
[UBlock Filters]: https://github.com/uBlockOrigin/uAssets/tree/master/filters
[Default Deny]: https://github.com/gorhill/uBlock/wiki/Dynamic-filtering:-default-deny [Default Deny]: https://github.com/gorhill/uBlock/wiki/Dynamic-filtering:-default-deny
[uBO Filters]: https://github.com/uBlockOrigin/uAssets/tree/master/filters
[Permissions]: https://github.com/gorhill/uBlock/wiki/Permissions [Permissions]: https://github.com/gorhill/uBlock/wiki/Permissions
[Commit Rate]: https://github.com/gorhill/uBlock/commits/master [Commit Rate]: https://github.com/gorhill/uBlock/commits/master
[Deploying]: https://github.com/gorhill/uBlock/wiki/Deploying-uBlock-Origin [Deployment]: https://github.com/gorhill/uBlock/wiki/Deploying-uBlock-Origin
[Blocking]: https://github.com/gorhill/uBlock/wiki/Blocking-mode [Blocking]: https://github.com/gorhill/uBlock/wiki/Blocking-mode
[Releases]: https://github.com/gorhill/uBlock/releases [Releases]: https://github.com/gorhill/uBlock/releases
[UMatrix]: https://github.com/gorhill/uMatrix [UMatrix]: https://github.com/gorhill/uMatrix