CSS property matching improvements · 2016-11-14 13:05 by Felix Dahlke

About a year ago, we introduced CSS property filters as a means of hiding elements based on their styles. Today, we have landed two improvements to this:

Case insensitive matching

This is a change in semantics; CSS properties will now always be matched in a case insensitive manner, to make it consistent with the way Adblock Plus matches URLs. This is unlikely to result in undesired behaviour as there shouldn’t be many use cases for case sensitive property matching.

Regular expression matching

Until now, CSS properties could only be matched using the simple URL matching syntax, which made it difficult to match property values in a fine-grained manner. To address this, properties can now optionally be matched using regular expressions. The default matching behaviour is still the same, to use regular expressions, a matching expression needs to start and end with /, for example:

example.com##[-abp-properties='/width: 3[2-8]px;/']

These improvements are available in Adblock Plus for Firefox as of 2.8.1.4229 and Adblock Plus for Chrome and Opera as of 1.12.4.1682, and will presumably be released with the next stable version on each platform respectively.

Please note that we still consider CSS property filters an experimental feature, and therefore subject to change. Considering this, and the fact that CSS property filters are slower than regular element hiding rules, they should only be used as a last resort.

To the install page

Read more Comment

Tags:

Adblock Plus 1.12.4 for Chrome, Opera and Safari released · 2016-10-26 14:06 by Dave Barker

Install Adblock Plus 1.12.4 for Chrome
Install Adblock Plus 1.12.4 for Opera
Install Adblock Plus 1.12.4 for Safari (Safari 6 or higher required)

Changes

Chrome/Opera-only changes

Safari-only changes

Read more Comment [1]

Tags:

Adblock Plus 1.12.2 for Chrome, Opera and Safari released · 2016-08-23 17:51 by Dave Barker

Install Adblock Plus 1.12.2 for Chrome
Install Adblock Plus 1.12.2 for Opera
Install Adblock Plus 1.12.2 for Safari (Safari 6 or higher required)

This is a minor release, focused on stability and preventing circumvention.

Changes

Chrome/Opera-only changes

Safari-only changes

Read more Comment [1]

Tags:

Adblock Plus 1.12.1 for Chrome, Opera and Safari released · 2016-06-28 12:56 by Dave Barker

Install Adblock Plus 1.12.1 for Chrome
Install Adblock Plus 1.12.1 for Opera
Install Adblock Plus 1.12.1 for Safari (Safari 6 or higher required)

This is a minor release, including some bug fixes and performance improvements.

Changes

Chrome/Opera-only changes

Safari-only changes

Read more Comment [7]

Tags:

Adblock Plus 1.12 for Chrome, Opera and Safari released · 2016-06-01 15:03 by Sebastian Noack

Install Adblock Plus 1.12 for Chrome
Install Adblock Plus 1.12 for Opera
Install Adblock Plus 1.12 for Safari (Safari 6 or higher required)

This release features experimental Safari Content Blocking support. So if you’re on Safari 9, you can try out the new (faster) blocking mechanism now by enabling it in the options. But please read the announcement first; as that feature is still experimental and Content Blockers have some limitations, there are some caveats. However, Content Blockers will eventually completely replace the old mechanism we relied on so far on Safari.

There also have been some bug fixes and other improvements for all platforms which are listed below, and some changes under the hood which aren’t visible to the user.

Changes

Chrome/Opera-only changes

Safari-only changes

Read more Comment [6]

Tags:

Adblock Plus 1.11 for Chrome, Opera and Safari released · 2016-03-08 17:44 by Sebastian Noack

Install Adblock Plus 1.11 for Chrome
Install Adblock Plus 1.11 for Opera
Install Adblock Plus 1.11 for Safari (Safari 6 or higher required)

This release features the new developer tools panel which shows blockable items along with applied filters, and provides an easy way to create new filters for these items, on Chrome and Opera.

Another big change in this release: The “Block element” dialog is no longer injected into the page, but opened as a popup on Chrome and Opera, and as a new tab on Safari. This solved a couple issues, most notably a way that allowed websites to reliably detect whether Adblock Plus is installed.

Other changes

Read more Comment [6]

Tags:

“Block element” dialog now displayed as a popup window · 2016-02-18 17:14 by Dave Barker

We’ve been working on some changes to the “Block element” feature. These changes will be available in Adblock Plus 1.11 for Chrome, Opera and Safari and now in development builds as of 1.10.2.1554.

The “Block element” feature allows you to select elements on the current page and generate filters to block them. After selecting an element the “Block element” dialog is displayed which allows you to confirm the filters that should be added. For Chrome and Opera this dialog is now displayed as a popup window (issue 2426) instead of as part of the website itself. In Safari the dialog will open as a new tab instead. (This is because Safari unfortunately doesn’t provide an equivalent way for us to open popup windows.)

This change should resolve a number of issues with the “Block element” dialog, most importantly one that was being used by websites to reliably detect if Adblock Plus was installed.

To the install page

Read more Comment

Tags:

Bringing "blockable items" to Chrome, introducing the Adblock Plus developer tools panel · 2016-02-03 18:08 by Sebastian Noack

Since we ported Adblock Plus to Chrome, we promised our users feature-parity with Adblock Plus for Firefox. While we are still not there, the probably most significant feature that has been missing on Chrome for a long time – but not anymore – is a way to view blockable items/requests along with applied filters.

For Chrome and Opera, we decided to implement “blockable items” as a developer tools panel (issue 154). Being a tool for advanced users, filter list authors and our own developers, we think that it belongs there. And integrating it with the developer tools gives a nice user experience.

screenshot demonstrating the new Adblock Plus developer tools panel

The developer tools panel is now available in the development builds as of Adblock Plus 1.10.1.1543 for Chrome and Opera, and will be included in the next release, Adblock Plus 1.11. In order to use the developer tools panel, inspect the current page (Ctrl + Shift + I) and click on the “Adblock Plus” panel. Unfortunately, Chrome currently doesn’t provide a way to open the developer tools panel programmatically, e.g. from our icon menu.

Also as opposed to “blockable items” on Firefox, we don’t record items in advance, to avoid performance penalties and additional memory usage while not using the developer tools panel. Therefore you have to (re)load the page, with the panel open, to see all items.

The items shown in the developer tools panel include:

To the install page

Read more Comment [4]

Tags:

Adblock Plus 1.10.1 for Chrome, Opera and Safari released · 2016-02-03 12:16 by Sebastian Noack

Install Adblock Plus 1.10.1 for Chrome
Install Adblock Plus 1.10.1 for Opera
Install Adblock Plus 1.10.1 for Safari (Safari 6 or higher required)

This is an emergency bugfix release, fixing a regression that was introduced in the previous release and broke compatibility with Chrome 37, Opera 24, and earlier versions (issue 3580).

Besides that and some changes under the hood, this release fixes the following minor bugs:

Read more Comment [4]

Tags:

Adblock Plus 1.10 for Chrome, Opera and Safari released · 2016-01-05 13:44 by Dave Barker

Install Adblock Plus 1.10 for Chrome
Install Adblock Plus 1.10 for Opera
Install Adblock Plus 1.10 for Safari (Safari 6 or higher required)

This update adds the new CSS property filter syntax which should give filter list authors an additional tool against the circumvention of Adblock Plus. We have also created a page which will be shown when Adblock Plus is uninstalled. We are hoping to gain insight into the overall user experience and what we can improve.

Changes

Chrome/Opera-only changes

Safari-only changes

Read more Comment [1]

Tags:

Previous