Adblock Plus 1.13.3 for Chrome and Opera released · 2017-07-12 11:57 by Dave Barker

Install Adblock Plus 1.13.3 for Chrome
Install Adblock Plus 1.13.3 for Opera

This release features a number of ad blocking improvements, bug fixes and some changes under the hood.

Changes

Read more Comment [2]

Tags:

New #?# syntax for advanced element hiding rules · 2017-06-19 17:21 by Hubert Figuière

Starting with Adblock Plus 1.13.3 for Chrome and Opera (and development builds as of 1.13.2.1782) there is a new and improved syntax which can be used for advanced element hiding filters. It allows for elements to be hidden based upon their contents using :-abp-has. CSS property filters have also being adjusted to be consistent with the new syntax, so both those and :-abp-has filters now use the #?# option separator.

So for example here’s a standard element hiding filter:

domain.com##selector

Which with the new advanced syntax could be written as:

domain.com#?#selector

The overall syntax is the same, but #?# filters have access to a few extensions implemented as CSS pseudo classes. This extra power comes with a cost however, the new #?# filters are much slower and should only be used where necessary. The above example is bad therefore, since none of those extensions are being used. Filters using the new syntax must also be restricted to as few domains as possible, without any domain restrictions they are rejected outright.

So which CSS pseudo classes are supported?

:-abp-properties() (CSS property filters)

The pseudo-class :-abp-properties() is a reworked syntax for the CSS property filter. The value of the -abp-properties attribute becomes the argument passed to the pseudo-class selector. Your old filters will be converted automatically when loading the filter lists, and will work the same way. For example:

domain.com##[-abp-properties='background-color: rgb(0, 0, 0)']

becomes:

domain.com#?#:-abp-properties(background-color: rgb(0, 0, 0))

Note the lack of quotes. As before, you can combine this into a more complex CSS selector.

:-abp-has()

With this change we introduced a new pseudo-class: :-abp-has(selector). Inspired by the CSS Level 4 draft :has(), this pseudo-class selects an element if it contains something that matches the selector passed an argument.

Example 1:

domain.com#?#div.sidebar > div:-abp-has(> video.ad)

On the site “domain.com”, hide the element that has as direct descendant a <video> element with the class “ad” and is a direct descendent of a <div> that has the class “sidebar”. We want the enclosing element because it contain other things with want to hide.

Example 2:

domain.com#?#div.sidebar > div:-abp-has(> div.sidebartitle) > .adtext

On the site domain.com, hide the elements with the class “adtext”, that are direct descendent of a <div> element that also has a direct descendent a <div> with the class “sidebartitle”, and that is a direct descendent of a <div> that has the class “sidebar”.

Note: It is recommended to not nest :-abp-has() where possible, as that will further slow down element hiding. Also it is recommended that the selector inside a :-abp-has() starts with a combinator like >, + or ~. Otherwise a lot of elements will be needlessly selected as more that one ancestor will match.

To the install page

Read more Comment

Tags:

New filter type option for WebRTC connections · 2017-04-12 12:08 by Dave Barker

Starting with Adblock Plus 1.13.3 for Chrome and Opera (and development builds as of 1.13.2.1761) the blocking of WebRTC connections is supported. Those connections will have the new request type of “webrtc” and so filters can be made to target them by adding the $webrtc type option.

WebRTC is an experimental browser technology which is supposed to be used for things like video conferencing. Unfortunately despite still being in active development it’s already being misused to serve adverts! Since Chrome does not yet allow WebRTC connections to be blocked by extensions directly (Chromium issue 707683), we’ve had to implement a workaround to achieve this.

Support for other platforms such as Firefox should follow soon, we’ll keep you posted.

To the install page

Read more Comment

Tags:

Adblock Plus 1.13.2 for Chrome and Opera released · 2017-03-21 16:50 by Jon Sonesen

Install Adblock Plus 1.13.2 for Chrome
Install Adblock Plus 1.13.2 for Opera

This is an emergency release, fixing a regression and preventing installation on unsupported Opera versions.

Changes

Read more Comment [1]

Tags:

Adblock Plus 1.13.1 for Chrome and Opera released · 2017-03-17 18:21 by Dave Barker

Install Adblock Plus 1.13.1 for Chrome
Install Adblock Plus 1.13.1 for Opera

This is an emergency release, fixing overly eager popup blocking.

Changes

Read more Comment [3]

Tags:

Adblock Plus 1.13 for Chrome and Opera released · 2017-03-15 13:18 by Dave Barker

Install Adblock Plus 1.13 for Chrome
Install Adblock Plus 1.13 for Opera

This is a major release containing some user interface improvements and more changes behind the scenes.

Changes

Read more Comment

Tags:

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:

Previous