You would need to modify Splash so that it will scan for thumbnails again after Autopagerize inserts another page.
One way to do this would be for Autopagerize to fire a custom message event on the new page content once it loads, then have Splash listen for that event and scan the new page when it happens. [1] You could also listen for DOMSubtreeModified in Splash and try to figure out when the event has been fired for a new page insertion. [2] Unless Splash gives its functions to unsafeWindow for some reason, you can't access them from Autopagerize. [1] http://help.dottoro.com/ljknkjqd.php [2] https://developer.mozilla.org/En/DOM_Events#Example On Mar 24, 7:34 am, solidox <[email protected]> wrote: > Hello, > > I'm trying to fix a script, in fact the interaction between 2 scripts: > Autopagerize and Splash Album Viewer. > > I guess u know what Autopagerize is; Splash is just a full-size > tooltip of the thumbnails on flickr (and other sites), so you don't > have to load the whole page to see the larger image. > > The problem is Splash only works on the first page, because > Autopagerize loads the next pages after Splash scans the DOM for > thumbnails. > > I found what needs to call what, but since each script is sandboxed, I > don't know how to access Splash's functions from Autopagerize. > > Hope you can help, thx -- 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.
