I've never had to deal with moving a video, but I am knee-deep trying
to modify a page that has a billion little gaming tiles placed on load
absolutely positioned via a page script relative to the document
window... you can imagine how much that breaks if you change anything
on the page that moves these tiles.  Sigh.

Something I've been toying with that holds some promise and might be
useful for large number of sites:

Almost every site has some sort of blank 1x1 white .gif image or
otherwise almost invisible image.  If you change links on a page to
link to say:

http://www.somesite.com/images/blank.gif?myarg=foo1
http://www.somesite.com/images/blank.gif?myarg=foo2
... etc.

You can have the browser display essentially a blank page, while you
grab whatever real page you wanted (based on querysting) with
XMLhttprequest, modify everything you want, and then replace the
entire page with your already modified content.

I doubt this would work for everything, as you mentioned you can't get
say, a position property on an element that hasn't been displayed
yet.  If it's an inline script that is setting your element positions
(it is in my case), then you can directly modify this script to
position them differently before the page is even displayed.  I'm also
not sure about the header issues, and not sure yet how you'd deal with
referenced script files, but I haven't run into anything yet that
would tell me it can't be done, unlike the hard limit of having a user
edit and/or install other stuff.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"greasemonkey-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/greasemonkey-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to