Historie verzí doplňku uBlock Origin

89 verzí

Se starými verzemi opatrně!

Tyto verze jsou dostupné pro referenční a testovací účely. Měli byste vždy použít poslední verzi doplňku.

Verze 1.17.2 2.3 MiB Podporuje Firefox pro Android 52.0 a novější, Firefox 52.0 a novější

No change since 1.17.0: this release is for the benefit of Firefox users, who will be able to take advantage of an up to date resources.txt asset. This new version is published on AMO only.

Commit history since 1.17.0.

Verze 1.17.0 2.3 MiB Podporuje Firefox pro Android 52.0 a novější, Firefox 52.0 a novější

See release notes.


New


Per-site JavaScript master switch

A new per-site switch has been added to the popup panel, which acts as a master switch for JavaScript for the current site.

This master switch has precedence over dynamic filtering rules and static filters related to script resources.

Furthermore, when JavaScript is disabled through this master switch, noscript tags will be honoured on a page (as opposed to when just using filters/rules to block script resources).

As with some other per-site switches, the default state of per-site JavaScript master switch can be set in the Settings pane, thus allowing to disable JavaScript everywhere by default, and enable on a per-site basis.

JavaScript master switch rules appear as no-scripting: [hostname] true entries in the My rules pane.


Temporarily toggle per-site switches

From now on, changes to the state of per-site switches will be deemed temporary if and only if the overview panel is visible, regardless of whether "advanced user" mode is enabled.

When the overview panel is not visible, toggling a per-site switch will cause the change to be permanent (i.e. same behavior as before).

However, when the overview panel is visible, toggling a per-site switch will cause the change to be temporary. In such case, there will be an eraser and a padlock icon in the overview pane, which can be used to revert or persist the current state of all the per-site switches.


Cache storage compression

A new advanced setting: cacheStorageCompression, default to true. When true, uBO will lz4-compress data before storing it in its cache storage in supported platforms. Currently, the only supported platform is Firefox/Firefox for Android.

The cache storage is used for storing downloaded filter lists, compiled filter lists, selfies. See https://github.com/uBlockOrigin/uBlock-issues/issues/141 for related discussion.


Closed as fixed


Firefox


Firefox for Android


Core


Commits history since 1.16.20.

Verze 1.16.20 2.2 MiB Podporuje Firefox pro Android 52.0 a novější, Firefox 52.0 a novější

See release notes.

I decided to create an emergency fix for a bug which was spotted for uMatrix but which also affects uBO:
"My rules tab hangs with cloud storage support"

If using cloud storage, there is a small probability uBO could be stuck in an infinite loop when reading back the data from the cloud storage, something which may occurs when the following conditions are reunited:

  • You checked the setting "Enable cloud storage support";
  • You saved data into the cloud storage for a given pane;
  • The amount (in bytes) of data that was saved into the cloud storage for that given pane is rather high and such that the "chunkification" of that data results in a chunk count which is a multiple of 16;

    • Large amount of data is more likely for the "My filters" and "My rules" panes.
    • Sorry for the cryptic explanation, I don't know how else to describe this.
  • You open the pane in the dashboard for which the conditions above are true.

If the bug is triggered, uBO could be stuck in an infinite loop in its main process, thus preventing it from doing its job.

This is not a regression, but rather a bug that has been hiding in there since quite a long time.

Commits history since 1.16.16.

Verze 1.16.18.1 2.2 MiB Podporuje Firefox pro Android 52.0 a novější, Firefox 52.0 a novější

See release notes.

I decided to create an emergency fix for a bug which was spotted for uMatrix but which also affects uBO:
"My rules tab hangs with cloud storage support"

If using cloud storage, there is a small probability uBO could be stuck in an infinite loop when reading back the data from the cloud storage, something which may occurs when the following conditions reunited:

  • You checked the setting "Enable cloud storage support";
  • You saved data into the cloud storage for a given pane;
  • The amount (in bytes) of data that was saved into the cloud storage for that given pane is rather high and such that the "chunkification" of that data results in a chunk count which is a multiple of 16;

    • Large amount of data is more likely for the "My filters" and "My rules" panes.
    • Sorry for the cryptic explanation, I don't know how else to describe this.
  • You open the pane in the dashboard for which the conditions above are true.

If the bug is triggered, uBO could be stuck in an infinite loop in its main process, thus preventing it from doing its job.

This is not a regression, but rather a bug that has been hiding in there since quite a long time.

Commits history since 1.16.16.

Verze 1.16.16 2.2 MiB Podporuje Firefox pro Android 52.0 a novější, Firefox 52.0 a novější

Verze 1.16.10 2.1 MiB Podporuje Firefox pro Android 52.0 a novější, Firefox 52.0 a novější

Verze 1.16.8 2.1 MiB Podporuje Firefox pro Android 52.0 a novější, Firefox 52.0 a novější

See release notes.

No change to uBO itself.

The only change is in uBO's assets and publishing a new version of uBO package is to ensure all users get a new version of the neutered script from googletagservices.com/gpt.js -- see commit 2bc97541b3b9.

Commits history since 1.16.6.

Verze 1.16.6 2.1 MiB Podporuje Firefox pro Android 52.0 a novější, Firefox 52.0 a novější

See release notes.

Closed as fixed


Commits history since 1.16.4.

Verze 1.16.4 2.1 MiB Podporuje Firefox pro Android 52.0 a novější, Firefox 52.0 a novější

See release notes.

Closed as fixed:
Commits history since 1.16.2.

Verze 1.16.0 2.1 MiB Podporuje Firefox pro Android 52.0 a novější, Firefox 52.0 a novější

See release notes.

New:

Added support for pre-parsing directives to filter list compiler. This allows filter list maintainers to create areas in a filter list which will be compiled only if certain conditions are met (or not met). See detailed documentation.

Changes:

The "3rd-party filters" pane in the dashboard has been renamed "Filter lists", and its look and behavior has been fine tuned.

Work has been done in the dashboard to further improve rendering on small screens.

Closed as fixed:


Commits history since 1.15.24.

Verze 1.15.24 2.1 MiB Podporuje Firefox pro Android 52.0 a novější, Firefox 52.0 a novější

See release notes.

The release version of uBO on AMO is not allowed to update its resources.txt asset. This means the version shipped with the extension must be used. However, uBO compile and cache the data in resources.txt, and unless the cache is invalidated, uBO will keep using a potentially out of date version of resources.txt. This has been fixed by unconditionally invalidating the cache when a new version of uBO is detected.

Commits history since 1.15.24.

Verze 1.15.22 2.1 MiB Podporuje Firefox pro Android 52.0 a novější, Firefox 52.0 a novější

See release notes.


Regression introduced in version 1.15.12 with the fix to issue #3546: whitelist directives were not taken into account for filterable behind-the-scene network requests. This is now fixed.

Commits history since 1.15.22.

Verze 1.15.20 2.1 MiB Podporuje Firefox pro Android 52.0 a novější, Firefox 52.0 a novější

See release notes.

Changes:

From now on, behind-the-scene network requests will be treated and filtered just like any other network requests. The behind-the-scene scope will be un-whitelisted when migrating to 1.15.20+ from an older version.

This will not apply to current installations of the Firefox/legacy version of uBO, as this would cause serious breakage of the browser given that uBO can see all network requests in Firefox/legacy. However for a fresh install of the Firefox/legacy, you will have to manually add the behind-the-scene scope as a whitelist directive in the Whitelist pane.

Keep in mind I plan to drop support for Firefox/legacy once Firefox 60 ESR is released on May 7. This will remove a roadblock for simplifying uBO's code base in many areas.

Miscellaneous:

  • Ability to visually filter out rules in the "My rules" pane in the dashboard.
  • Firefox for Android: improved compatibility with the CodeMirror editor.
  • Responsive design of the dashboard user interface has been improved a bit.

Closed as fixed:


Commits history since 1.15.20.

Verze 1.15.18 2.0 MiB Podporuje Firefox pro Android 52.0 a novější, Firefox 52.0 a novější

Verze 1.15.16 2.0 MiB Podporuje Firefox pro Android 52.0 a novější, Firefox 52.0 a novější

Verze 1.15.14 2.0 MiB Podporuje Firefox pro Android 52.0 a novější, Firefox 52.0 a novější

See release notes.

New

Added a new advanced setting: streamScriptInjectFilters. The purpose is to tell uBO to use stream filtering to inject scriptlets where possible. Default to false. Set to true to bring back scriptlet injection through stream filtering as was the default before 1.15.10. A fix has also been added to resolve https://github.com/uBlockOrigin/uAssets/issues/1492, which was the main reason to disable stream filtering-based scriptlets injection in 1.15.10.

Integration of CodeMirror in uBO's dashboard. Please do not open feature requests related to this.

Changes:

Firefox/webext

From now on, the beta version will be signed and self-hosted here. The stable version and the beta version auto-update independently of each other.

Closed as fixed:


Commits history since 1.15.10.

Verze 1.15.10 1.8 MiB Podporuje Firefox pro Android 52.0 a novější, Firefox 52.0 a novější

See release notes.

I rolled back part of the fix for #3069: scriptlets are back to being injected using the delayed path. Using stream filtering to inject the scriptlets raised two distinct issues lately:


HTML filtering is still available, i.e. filters using the ##^ syntax are unaffected.


Commits history since 1.15.10.

Verze 1.15.8 1.8 MiB Podporuje Firefox pro Android 52.0 a novější, Firefox 52.0 a novější

See release notes.

Emergency fix:

Fixed a minor memory leak occurring as a result of injecting scriptlets (through ##script:inject(...) filters) using webRequest.filterResponseData.

Commits history since 1.15.8.

Verze 1.15.6 1.8 MiB Podporuje Firefox pro Android 52.0 a novější, Firefox 52.0 a novější

Verze 1.15.4 1.8 MiB Podporuje Firefox pro Android 52.0 a novější, Firefox 52.0 a novější

Verze 1.15.2 1.8 MiB Podporuje Firefox pro Android 52.0 a novější, Firefox 52.0 a novější

See release notes.

No change to the code, I just updated the filter lists packaged with the extension -- due to a bad EasyList filter being shipped with the previous package.

Commits history since 1.15.2.

Verze 1.15.0 1.8 MiB Podporuje Firefox pro Android 52.0 a novější, Firefox 52.0 a novější

See release notes.

New

HTML filtering

Ability to remove DOM elements from a source document before it is parsed by the browser. The platform must support an extension API to modify the response body on the fly. Currently only Firefox 57+ allows this.

The filter syntax is similar to cosmetic filtering, except that the character ^ is used before a valid selector to denote that the filter is to be applied to the source data. Contrary to cosmetic filtering, with HTML filtering the elements matching a selector are removed from the source. Example:

twitter .com##^meta[http-equiv="refresh"]
www.google .ca##^#hplogo
boards.4chan .org##^script:has-text(7c9e3a5d51cdacfc)

Note that procedural operators are supported. Procedural operators which are senseless to use on source data will be ignored. For example, it makes no sense to use procedural operator such :matches-css(...) for HTML filtering.

Note that HTML filtering essentially brings back support for inline script tag filtering. I plan on deprecating the syntax ##script:contains(...) in favor of ##^script:has-text(...). For the time being, uBO will conveniently convert the old syntax to the new HTML filtering syntax.

Given that HTML filters are to be applied to the source data of a document, the best way to create such filters is to view-source: the document and from there analyze what should be removed. Thus the element picker won't be extended as a tool to create HTML filters.

In case it's still not clear at point: this is a big deal feature.

Sub-filter lists

Ability for filter list maintainers to force uBO to load extra filter lists from within a filter list, using an !#include directive. Example:

!#include adblock_ublock.txt

When uBO encounters the above directive inside a filter list, it tells uBO to load the extra filter list and append it to the current one. The main purpose of such directive is to allow filter list maintainers to be able to make use of uBO's extended filter syntax, without forfeiting the ABP-compatibility of their main filter list: ABP will ignore such directive since it will be seen as a mere comment.

All the details of the new directives syntax is being fleshed out at https://github.com/AdguardTeam/AdguardBrowserExtension/issues/917. At this point only !#include is implemented by uBO, because it solves immediately a current issue by simplifying the work of filter list maintainers who want to make use of uBO's extended filter syntax.

Important: uBO forbids sublists which are outside the directory of the main list. Typically, filter list maintainers will just use a single file name, as seen in the example above, in which case same-origin and same directory is implicit.

Changes

Logger

The logger can now be opened in a sidebar on Firefox. Just open the side bar and "uBlock₀ -- Logger" will be available as a choice.

Given this new ability, I added the following enhancements:

  • A new entry in the tab selector: "Current tab":
    • This will cause the logger to automatically filter out rows which do not belong to the currently active tab.
  • The rows related to behind-the-scene scope are now always shown.
  • If you close a tab while "Current tab" is selected, the resulting void rows will be automatically deleted.
  • You can expand/collapse a single row by clicking on the time stamp cell.

Given that uBO's logger is unified, being able to open the logger in a sidebar means you could end up having multiple views opened for the logger: only one view will work at any given time.

Mind that there are minor visual issues which I have no control over:

  • The maximum horizontal space is limited by the browser.
  • If you have the logger already opened in a tab or separate window, you will have to close these for the logger-in-a-sidebar to start working. However some internal message events are lost in Firefox and as a result the logger-in-a-sidebar may take over 30 seconds to start working after you close the logger-in-a-tab or window.
  • Firefox: the font size is smaller than dictated in the DOM inspector view: I have no clue why, uBO's chosen font size is overridden by Firefox for some reasons.
  • Firefox: it's not possible to select text in the logger when it is embedded in a sidebar.

Closed as fixed:


Commits history since 1.14.24.

Verze 1.14.24 1.8 MiB Podporuje Firefox pro Android 52.0 a novější, Firefox 52.0 a novější

See release notes.

Emergency fix for "Cannot full support Domain restrictive Inverse type options": static network filters with a mix of negated and non-negated "domain=" option were instantiated in a way which rendered them unenforceable.

Commits since 1.14.22:

Verze 1.14.20 1.7 MiB Podporuje Firefox pro Android 52.0 a novější, Firefox 52.0 a novější

See release notes.

Changes

The filter list "AAK-Cont Filters For uBlock Origin" has been removed from stock filter lists, it is no longer maintained. See #3241. Note that uBO is equipped to deal with anti-blockers, it's just a matter of users reporting instances to volunteer maintainers. Everybody is welcomed to assist in finding solutions to reported filter issues.

The DOM inspector has been improved a bit to make it more usable (see #407). Some refactoring was necessary to move forward this part, and as a result the DOM inspector is currently not available on legacy Firefox. This will be addressed only as time allow. Note that I still consider the DOM inspector to be work in progress. In case you wonder, the DOM inspector is the best way to visualize the effects of cosmetic filters on a page and to create exception cosmetic filters.

The semantic of the no-csp-reports switch has been changed from "block CSP reports from" to "block CSP reports to". This does not change the behavior of the "Block CSP reports" setting. This change of semantic makes sense, and this also removes an incompatibility with NoScript 10 (see #3260).

Accepted pull requests:


Closed as fixed:


Commit history between 1.14.18 and 1.14.20.

Verze 1.14.18 1.7 MiB Podporuje Firefox pro Android 52.0 a novější, Firefox 52.0 a novější

See release notes.

Firefox WebExtensions: Issues with uBO/webext? If so, then read carefully before filing any issue.

New

A new setting has been added in the Privacy section of the Settings pane in the dashboard: "Block CSP reports". Default is un-checked. Rationale for this new setting: issue #3150. Documentation for this new setting: Block CSP reports.

Changes

Small improvements to the element picker on touchscreen devices:

  • The picker dialog box is now rendered with a minimal width.
  • After you pick an element, if the picker dialog box is...
    • Visible...
      • Swiping right will hide it.
    • Not visible...
      • Swiping left or touching it will un-hide it.
      • Swiping right will quit element picker mode.

Closed as fixed:


Commit history between 1.14.16 and 1.14.18.

Verze 1.14.16 1.8 MiB Podporuje Firefox pro Android 52.0 a novější, Firefox 52.0 a novější

See release notes.

Firefox WebExtensions

Issues with uBO/webext? If so, then read carefully before filing any issue.

Firefox for Android 56: I have observed that the "Options" button does not appear in about:addons with this version of uBO (while this works fine with Nightly, quite probably because of bugzilla issue 1364945). However, unlike with Firefox for Android 55, uBO's entry in the browser menu is properly shown, so you can access the dashboard through the popup panel.

Closed as fixed:


Commit history between 1.14.14 and 1.14.16.