[Greasemonkey] Page-load jumpiness

Mihai Parparita mihai.parparita at gmail.com
Thu Apr 28 14:55:20 EDT 2005


I guess I was thinking that the custom MIME type way of injecting code
would allow GM to get at the document source before its gets handed
off to the rendering engine. But when that gets implemented, jumpiness
won't be an issue, so nevermind.

Mihai

On 4/28/05, Aaron Boodman <zboogs at gmail.com> wrote:
> If there was a way to insert that rule into the head section, then we
> wouldn't have the problem in the first place.
> 
> On 4/28/05, Mihai Parparita <mihai.parparita at gmail.com> wrote:
> > User scripts could have a special flag like "@options hide_target".
> > When injecting scripts, if any of them has the flag present, then the
> > following CSS rule is inserted in the head section: "body {display:
> > none !important}" It's then up to the user script to show the document
> > when it deems appropriate.
> >
> > Mihai
> >
> > On 4/28/05, alan taylor <kokogiak at gmail.com> wrote:
> > > Ha! Yeah, in the best of all worlds the URLID extension would do it -
> > > but on just trying it now, the order of execution is: Page render > GM
> > > User Script > URLID CSS rules applied. Jumpier still :)
> > >
> > > Good idea though. Will keep trying to see if I can think of something clever.
> > >
> > > -Alan
> > >
> > > On 4/28/05, Aaron Boodman <zboogs at gmail.com> wrote:
> > > > No. :-( The first ~4 ways I've tried to solve this have not worked.
> > > > Maybe you could look into the URLID extension. If it kicks in early
> > > > enough, you could create a  user css rule to set the display of
> > > > document.body to none. Then in the user script, set it back to block.
> > > >
> > > > --
> > > > Aaron
> > > >
> > > > On 4/28/05, alan taylor <kokogiak at gmail.com> wrote:
> > > > > This may have been discussed before, but has anyone come up with a
> > > > > workable way to handle the 'jumpiness' caused by re-structuring a page
> > > > > with GM after it loads? Is there a way to pause rendering or hide the
> > > > > rendered page until after GM-modification has taken place?
> > > > >
> > > > > I'm working on my own private view of NYTimes.com - and it's a thicket
> > > > > of nested tables, so the jumping-around is pretty annoying. Thanks.
> > > > >
> > > > > -Alan Taylor
> > > > > _______________________________________________
> > > > > Greasemonkey mailing list
> > > > > Greasemonkey at mozdev.org
> > > > > http://mozdev.org/mailman/listinfo/greasemonkey
> > > > >
> > > > _______________________________________________
> > > > Greasemonkey mailing list
> > > > Greasemonkey at mozdev.org
> > > > http://mozdev.org/mailman/listinfo/greasemonkey
> > > >
> > > _______________________________________________
> > > Greasemonkey mailing list
> > > Greasemonkey at mozdev.org
> > > http://mozdev.org/mailman/listinfo/greasemonkey
> > >
> > _______________________________________________
> > Greasemonkey mailing list
> > Greasemonkey at mozdev.org
> > http://mozdev.org/mailman/listinfo/greasemonkey
> >
> _______________________________________________
> Greasemonkey mailing list
> Greasemonkey at mozdev.org
> http://mozdev.org/mailman/listinfo/greasemonkey
>


More information about the Greasemonkey mailing list