Adblock Plus and (a little) more

K-Meleon support: making progress · 2006-09-27 22:37 by Wladimir Palant

A new Adblock Plus development build for K-Meleon has been uploaded, this time in three languages (English, German and Russian). Check out the screenshot to see what it looks like.

Note: Minimal required browser version is K-Meleon 1.02 now.

Installation

https://adblockplus.org/devbuilds/

To install, unzip the package into your K-Meleon application directory (e.g. “C:\Program files\k-meleon”), it will put all the files into the right places. You might also want to add a menu entry for Adblock Plus, to do so put the following line into the file menus.cfg in you profile, maybe after “macros(JSConsole,JavaScript &Console)”:

adblockplus(Preferences,Ad&block Plus)

Everything else is configured automatically.

Changes

  • Added toolbar and status bar icons
  • Added a dozen new error messages, if the plugin doesn’t load you should see the reason in JavaScript console
  • Starting autoregistration for Adblock Plus component manually (not relying on .autoreg any more)

Known issues

  • K-Meleon sometimes crashes on exit
  • Window size isn’t restored when re-opening Preferences or Blockable items
  • Blockable items doesn’t react to keyboard input when opened until you click it
  • Probably a few dozen small memory leaks
  • Toolbar/status bar icon not yet implemented
  • Context menu and tooltip for the icons not yet implemented
  • Several crashes with K-Meleon CCF
  • Due to heavy use of non-frozen API the plugin won’t work with Gecko 1.9 without recompiling
  • Middle mouse button doesn’t work properly in blockable items
  • Blockable items and Preferences dialogs sometimes show K-Meleon’s default menu
  • Subscription suggestions window doesn’t open on first startup
  • Toolbar icon uses a whole line for itself by default, needs to be moved/resized

Known limitations

  • Shortcut key preferences like extensions.adblockplus.enable_key use Win32 virtual key codes instead of Gecko’s virtual key codes
  • Blockable items must stay detached, K-Meleon’s sidebar implementation isn’t complete yet
  • Blockable items window is always on top and refers to all browser windows
  • Status bar icon doesn’t react to middle-clicks
  • Toolbar icon cannot be hiden via Adblock Plus options, only via View / Toolbars menu

Tags:

Comment [2]

  1. Hao Jiang · 2006-10-24 14:18 · #

    I ‘m still hoping this plugin can have the blocked items list work with the tab K-Meleon exe. Please let me know what I can help with that. The tab exe source code? and anything else? As noted in the K-Meleon forum thread: the lparam for WM_SWITCHTAB, WM _CREATETAB, WM_CLOSETAB is a pointer to a tab.

    Reply from Wladimir Palant:

    Yes, the source code. Supporting K-Meleon is already hard enough, I am not going to support an undocumented closed-source variation of it.

  2. Hao Jiang · 2006-10-31 00:08 · #

    I sent you a email with the source code already :)

Commenting is closed for this article.