[Greasemonkey] MagicLine

Aaron Boodman zboogs at gmail.com
Fri Aug 5 01:02:10 EDT 2005

> Is there some generic way to solve this "style inheritance" issue?
> My lame little script creates its own UI inside of a DIV, and
> it seems like there's always "just one more attribute" to
> override to make sure that page styles don't affect the way
> that it looks.

No good way. The way I've seen that works is to put your element
inside an iframe. With a bit of abstraction you can basically forget
about the iframe and just work with the nodes inside. Styles from
outside can't leak in.


More information about the Greasemonkey mailing list