[Greasemonkey] More TechnoProxy/CSS challenges

John gm at plsek.id.au
Fri Jul 8 22:06:16 EDT 2005


Matthew Gertner wrote:

> Hey you CSS geniuses, can anyone figure this out? There’s still a bug 
> in TechnoProxy if the little green icon appears over a link on the 
> original site. If you click on it, the original link is followed 
> instead of opening the TechnoProxy pane. Try this for example: 
> http://en.wikipedia.org/wiki/7_July_2005_London_bombings.
>
> Any ideas? I tried setting the Z-order with the naïve idea that the 
> Technorati icon would be “above” the original link, but that doesn’t 
> seem to work.
>
> Matt
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Greasemonkey mailing list
>Greasemonkey at mozdev.org
>http://mozdev.org/mailman/listinfo/greasemonkey
>  
>
That would not be a CSS (presentation) issue, more of an event issue

I'd change

img.onclick = function()
{
...
}

to

img.addEventListener("click", function(e)
{
...
e.preventDefault();
}, false);

(I think!!!)

John


More information about the Greasemonkey mailing list