New element hiding approach in Firefox · 2016-10-10 15:46 by Wladimir Palant

Traditionally, element hiding on Firefox worked quite differently from all other platforms supported by Adblock Plus. Rather than decide on the filters for each website individually, all element hiding rules would be written into a single elemhide.css stylesheet file that would apply to all websites unconditionally. This approach had a few disadvantages:

Luckily, Firefox implemented better mechanisms to apply stylesheets to documents a while ago and as of Adblock Plus development build we are now taking full advantage of these. We will now make a separate decision for each website, which (if any) element hiding rules should apply. And we don’t sacrifice performance for that because the majority of element hiding rules will go into a preloaded stylesheet with all the rules which apply unconditionally.

There are a few drawbacks here:

This is a huge change to the inner workings of Adblock Plus and while we tested it quite thoroughly some issues are expected — let us know if you notice any.

To the install page


Comment [2]

  1. John · 2016-10-18 07:55 · #
    is different from

    Reply from Wladimir Palant:

    Looks like you found a flaw in Textpattern’s request parsing :)

    This is the blog “homepage” which we are normally not using. It is showing the posts for all sections – meaning development builds, releases and regular blog posts.

  2. Aslanex · 2016-10-28 15:05 · #

    Well, the fact a reload is required is quite annoying for filter writers, because now I am not able check whether it was blocked correctly.

    Reply from Wladimir Palant:

    But it’s exactly the same with all other filters.

Commenting is closed for this article.