Per provare i componenti aggiuntivi disponibili in questo sito scarica Mozilla Firefox, un modo veloce e gratuito per navigare sul Web.
ChiudiBenvenuto in Firefox Add-ons.
Scegli tra migliaia di funzionalità aggiuntive e stili per rendere Firefox veramente tuo.
ChiudiRisposta dello sviluppatore Wind Li
Assegnate 5 su 5 stelle
I am using a Greasemoney script called "Greased Lightbox v0.17" for viewing the images on Google Image.
However, for new pages loaded by AutoPager, the Greased Lightbox script doesn't apply for those pages.
Is there any way to fix this?
Thank you.
AutoPager works well with the scripts which it modify the element directly.
But Greased Lightbox works in another way. Greased Lightbox go thought all the pictures in the page, records the target url, show functions and some other informations in a list. When a picture clicked, Greased Lightbox loops to find the properties in the list for the clicked item, and apply the show functions.
This will cause bad performance and not easy to compatible with others.
The right way should be just attach the properties to that picture or link. Thus when a picture clicked, it just show it according to it's properties. This will get better performance. And when AutoPager import the pictures to another page, the picture will still have the necessary information attached and Greased Lightbox will still works well.
Another way is to just register a global click event listener. It doesn't need to go through all the pictures and creates click event listeners for individually picture. When a picture clicked, it just check whether it's a supported picture, perform the applied actions.
This is also compatible with AutoPager.
You can pass this to the script author. He/she contact me for more information if need. Either through email or in my forum. You can find the info in the support info for AutoPager.
Per creare una tua raccolta devi avere un account per Mozilla Add-ons.