yeah, I've figured out where in Autopagerize to call the Splash update
function. I actually have it working as one single autopagerize
script, but I don't like it.
I even tried the unadvised @unwrap tag on Splash but that didn't work,
for some reason.


And since I'm going to modify both scripts, I could have Splash make
it's function(s) public. I'm just not sure how to do that.


On Mar 24, 2:44 pm, Fracture <[email protected]> wrote:
> 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.

Reply via email to