[Greasemonkey] changing framesizes
Aaron Boodman
zboogs at gmail.com
Mon Jan 2 12:03:22 EST 2006
Should be able to. Did you try something like this?
var framesets = document.getElementsByTagName("frameset");
if (framesets.length) {
framesets[framesets.length-1].setAttribute("cols", "300,300");
}
Please send example code and error message if it doesn't work.
- a
On 1/2/06, Andre <gm at andrecgn.de> wrote:
> Happy New Year :-))
>
> I am using GM on a site that is using framesets. One of the frames is a
> bit tight with my added buttons. Is there a way to change that with GM?
> I want to resize the innermost <frameset cols="116,680" ...
>
> Abbreviated definition:
>
> <frameset cols="*,796,*">
> <frame name="links"/>
> <frameset rows="58,*">
> <frame name="oben"/>
> <frameset cols="116,680" >
> <frame name="persoenliches"/>
> <frame name="mitte"/>
> </frameset>
> </frameset>
> </frameset>
>
> Cheers, Andre
>
> _______________________________________________
> Greasemonkey mailing list
> Greasemonkey at mozdev.org
> http://mozdev.org/mailman/listinfo/greasemonkey
>
More information about the Greasemonkey
mailing list