Adblock Plus comes to Prism

Wladimir Palant announced yesterday that Adblock Plus 1.0rc1 will ship with support for Prism 0.9! Pretty cool stuff. Many Prism users have asked about getting support for popular Firefox add-ons. Adblock Plus has been at the top of the list. Thanks Wladimir.

For those add-on developers out there wondering what changes need to be made to Adblock Plus to support Prism, here is the patch. Wladimir does a great job keeping the code clean. He also worked around a bug in Prism 0.9 that has been fixed on our trunk.

Lucky Disasters has also been collecting some useful information for Prism add-on developers.

2 Comments

  1. Diego said,

    December 1, 2008 @ 10:00 am

    Hi Mark

    I’m looking for how to remove the IE 3d border using MSHTML, and I reached to your article regarding MSHTML (http://starkravingfinkle.org/blog/2004/09/mshtml-hosting-odds-ends/). I tried the code you suggest in the last snippet but the border is still there. The odd thing is that the code works perfect for documents with DOCTYPE = HTML 4.0, but it doesn’t work for documents marked with DOCTYPE = XHTML 1.0, and changing the DOCTYPE is not an option.

    I’m using MSHTML for C# and IE 7. This snippet shows how I’m changing the border style:
    void browser_DocumentComplete(object pDisp, ref object URL)
    {
    ((IHTMLDocument2)this.browser.Document).body.style.overflow = “hidden”;
    ((IHTMLDocument2)this.browser.Document).body.style.setAttribute(“min-width”,”100px”,0);
    ((IHTMLDocument2)this.browser.Document).body.style.width = “176px”;
    ((IHTMLDocument2)this.browser.Document).body.style.borderStyle = “none”;
    }

    Do you know what am I doing wrong?

    I’m sorry for adding this comment in the wrong article, but the comments for the correct article are closed.

    Thanks

  2. Wladimir Palant said,

    December 1, 2008 @ 4:43 pm

    And – it just got released! Adblock Plus 1.0 is finally out.

RSS feed for comments on this post