[Flashblock] Request to make Flashblock with better with Adblock
Ted Mielczarek
ted at mielczarek.org
Wed Jan 11 09:14:21 EST 2006
On Wed, Jan 11, 2006 at 03:50:52PM +0100, Lorenzo Colitti wrote:
> 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.
You could try:
document.defaultView.getComputedStyle(element, '')
.getPropertyValue('display')
I agree that we might want to get some more info from the Adblock devs
to find a better workaround. As a plus though, checking for
display:none would make us play nice with userContent.css ad blocking
schemes.
-Ted
More information about the Flashblock
mailing list