[Flashblock] Request to make Flashblock with better with Adblock
Philip Chee
philip.chee at gmail.com
Wed Jan 11 23:27:51 EST 2006
On 11/01/06, Lorenzo Colitti <lorenzo at colitti.com> wrote:
> Lorenzo Colitti wrote:
> > Just thinking: does adblock simply set "display: none;" on the content
> > it blocks? If so, when generating a placeholder we could simply check if
> > the underlying element has display: none and if so not show the
> > placeholder.
> >
> > This of course assumes that adblock does its magic before we do, but
> > there might be a chance of that working since we create the placeholder
> > on a timeout and not in the XBL constructor.
>
> Well, this doesn't appear to be the case. After the page is loaded, the
> Flash object blocked by adblock has display: none, but if I check to see
> if it's display: none when creating the placeholder,
> current.style.display is empty. I'm not going to pursue this further.
As I understand it (I may be wrong):
Basically Flashblock bindings via css are applied first. After DOM
content is loaded then Adblock walks the DOM looking for things to
block.
I'll leave a note on the MozillaZine Extension forum for the
AdblockPlus developers to see if they have any insight into this.
Phil
Phil
More information about the Flashblock
mailing list