Jump to content
CCleaner Community Forums
hazelnut

ublock users

Recommended Posts

It's not just the Adguard Annoyances List that takes care of the cookies agreement, one of the other filter subscriptions I have also blocks them - I don't know which other it is though.

Share this post


Link to post
Share on other sites

Finally updated it again after being stuck on the old v1.13.8 (Legacy), and this time it's not a mess using v1.14.20 - although I had to restore my settings that I previously made a backup of.

Share this post


Link to post
Share on other sites

ublock v1.15.0

 

gorhill released this

a day ago

 

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 AdguardTeam/AdguardBrowserExtension#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.
  • 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.
  • 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.

Closed as fixed:

Firefox

Core

 

 

Share this post


Link to post
Share on other sites

now 2 updates :-)

 

ublock v1.15.2

 

gorhill released this

8 hours ago

 

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.

Share this post


Link to post
Share on other sites

ublock v1.15.10

 

gorhill released this

4 hours ago

 

Firefox/webext

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.

Share this post


Link to post
Share on other sites

ublock 1.15.12

 

gorhill released this

a day ago

 

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 uBlockOrigin/uAssets#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:

Firefox

Nightly

Core

Share this post


Link to post
Share on other sites

ublock 1.15.14

 

gorhill released this

a day ago

 

There is no change in this version relative to 1.15.12. I was forced to bump revision number to upload again to AMO -- the proper way this time.

Share this post


Link to post
Share on other sites

3 fly´s with one stroke

 

ublock v1.15.20

 

gorhill released this

2 days ago

 

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 version, 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:

Firefox

Core

Share this post


Link to post
Share on other sites

ublock v1.15.22

 

gorhill released this

a day ago

 

Changes:

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.

 

Share this post


Link to post
Share on other sites

ublock v1.15.24

 

gorhill released this

a day ago

 

Changes:

Firefox only: 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.

Notes:

I will wait a bit before releasing in Chrome and Opera stores, to see if any regression surfaces in the Firefox version. It is easier for me to have a speedy update in AMO than it is in the Chrome store.

Share this post


Link to post
Share on other sites

ublock v1.16.0

 

gorhill released this

8 hours ago

 

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:

Chromium

Firefox

Core

Share this post


Link to post
Share on other sites

ublock v1.16.2

 

gorhill released this

11 hours ago

 

Notes:

Publishing the dev build in the Chrome store has become very slow, new versions are languishing for days in "pending review" status, even when changes are trivial (meanwhile...). I consider this a hurdle to uBO development and the quick addressing of new issues/regressions. New versions of uBO on AMO become available literally minutes following submission.

uBO 1.15.24 in Opera store has been stuck in "pending approval" status since April 9th. If this situation does not resolve, I will seriously consider removing uBO from the Opera store. For Opera users, there is an Opera extension which allows installing extensions from the Chrome store if ever I end up removing uBO from the Opera store.

Closed as fixed:

Chromium builds without WebRTC

Chromium-based browsers

Firefox legacy

Firefox 52 ESR + uBO/webext

Firefox for Android

Firefox webext

Core

Share this post


Link to post
Share on other sites

ublock v1.16.4

 

gorhill released this

2 days ago

 

Closed as fixed:

Firefox for Android

Core

Share this post


Link to post
Share on other sites

ublock firefox legacy v1.16.4

 

gorhill released this

7 days ago

 

No changes from 1.16.2, it's just to test that all work fine for releasing new Firefox-legacy packages of uBO.

Share this post


Link to post
Share on other sites

ublock v1.16.6

 

gorhill released this 

a day ago 

 

Closed as fixed:

Firefox:

Core:

Share this post


Link to post
Share on other sites

Since uBlock v1.16.6 Chromium build I've noticed YouTube takes forever to load images or doesn't load them at all. I don't have that issue in the very old legacy v1.13.8 for Firefox.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×