Adblock Plus and (a little) more

Adding filter subscriptions with two clicks · 2006-08-15 14:28 by Wladimir Palant

A new Adblock Plus 0.7.1.1+ development build (2006081512) has been uploaded.

Installation

https://adblockplus.org/devbuilds/

Changes

  • Translations added: Czech, Norwegian (Bokmål)
  • +The new abp: protocol scheme allows subscribing with two clicks using links like the following: Subscribe to EasyList+
  • No longer ignoring NewsFox’ content pane, elements of the displayed RSS feeds can be blocked now
  • Preferences dialog: Improved inline editor’s compatibility with various themes
  • Preferences dialog: Fixed an incompatibility with the Plastikfox theme, inline editor would resize the filter tree
  • Preferences dialog: Fixed graphical glitch, list selection wouldn’t go away when inline editor is activated
  • Subscription authors can now use a comment to specify when the subscription should be downloaded next time (should contain something like expires after 5 days or Expires: 48 hours)
  • Fixed: Installation in SeaMonkey on Linux sets wrong file permissions
  • Installation in SeaMonkey on Linux now checks write permissions before trying to install
  • Installing in Mozilla Suite not possible any more, displays an error message

Notes

  • The tweaks for inline editor’s height have been removed, meaning that it is bigger on Windows. The upside: it got smaller on Linux. Hopefully the size is now acceptable for both.

Tags:

Comment [3]

  1. Komar · 2006-08-16 00:46 · #

    Adblock 0.7.1.1 and this dev build is causing that Custom Buttons ‘Initialize code’ section doesn’t work. Custom Buttons site

    And errors like this appear in Error Console

    Error: Custom Buttons error.][ Event: Initialization][ Button name: Autocomplete][ Button ID: custombuttons-button3][ TypeError: (new Function(button.getAttribute(“init”))).bind is not a function
    Source file: chrome://custombuttons/content/overlay.js
    Line: 150

    Disabling ABP brings ‘Initialize code’ functionality back. Wladimir, could you look at this problem? TIA

    PS. Graet job. :)

    Reply from Wladimir Palant:

    Function.bind()? Lol, I’ve seen that one :)

    Only from looking at the source code – don’t know how it conflicts with Adblock Plus, might be some regression in the browser. Generally, the use of bind() seems unnecessary here, I would suggest replacing the two lines with:

    var f=new Function(button.getAttribute('init'));
    f.apply(button);

    I’ll check it out properly later, can’t download that nightly right now.

  2. Komar · 2006-08-16 00:50 · #

    Aaa, I forgot one thing – this issue is visible only from Firefox nightly build 20060726.

  3. Komar · 2006-08-17 16:02 · #

    Thank you very much for this fix. :) Sorry for this spam in comments. ;)

    Reply from Wladimir Palant:

    Good to hear that this fixed the problem. Still, I have to check what has gone wrong, this might be a regression in Gecko.

    Reply from Wladimir Palant:

    I did some testing in Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1b1) Gecko/2006081703. This problem doesn’t seem to be related to Adblock Plus or any other extension — it occurs even if I disable all extensions but Custom Buttons. It seems that there’ve been some changes to the way how prototypes work, maybe worth a bug report. For some reason functions created with new Function() are missing the bind() method, functions created with eval(‘function(){}’) have it however.

Commenting is closed for this article.