[Greasemonkey] A question from the ignorant
Andrew Bell
greasemonkey at belltower.org
Wed Aug 17 18:52:14 EDT 2005
> If the "bandwidth saving" means blocking inline HTML, not external files
> linked in to the web page, then there is no way to dothat without knowing
> the exact byte ranges that have to be downloaded.
The particular page I want to apply greasemonkey-style clean-up to is an
online game, where each move is a new page, with a random new ad. The
ad itself isn't the issue, it's the poor general layout of the page.
Even on decent-sized screens, it can require scrolling to see important
info. I have modification code that improves things, but the page
initially displays without the mods, and I can at times accidentally
click on the wrong control as a result. (Although I may be
misremembering; I may only have done that with Turnabout on IE.) Even
if I don't misclick, I'm still chasing a moving target. It's not an
interactive game, but it is a long one, so there's a real benefit to
even small improvements. Ideally, I'd also like to replace some of the
graphics with smaller equivalents.
Thus I was curious if there's anythin along the lines of greasemonkey
that could help, whether it would require Firefox source hacking, etc.
> As for not rendering what you're going to remove, you'd have to edit the
> source before Firefox rendered it. This is both icky and hard
> (impossible?) to do.
Could you elucidate on ickiness and hard/impossibleness? My guess is
that Firefox starts rendering before it gets the entire page, and GM
really needs to work on the full page, but that is just a guess.
A system where the page doesn't start displaying until after the
original page is completely loaded and the GM script run would probably
do all I need.
Andrew Bell
More information about the Greasemonkey
mailing list