[Greasemonkey] Monkey Do

Jeremy Dunck jdunck at gmail.com
Wed Aug 17 22:11:18 EDT 2005


On 8/17/05, Aaron Boodman <zboogs at gmail.com> wrote:
> 
> function forceStyle(elm) {
>   var iframe = document.createElement("iframe");
> 
>   with (iframe.style) {
>     position = "absolute";
>     visibility = "hidden";
>   }

How come the position: absolute?

Otherwise, damn that's smooth.  I had a go at this a while ago and
basically stopped when I started going down the path of adding a GM
API function which would return a string with the contents of the
default stylesheet(s).


More information about the Greasemonkey mailing list