By goosey on
Hi,
I've been searching around for an easy way to prevent a modules javascript files from loading on particular pages. For example, I'd like the lightbox javascript for image viewing to only load on paths which begin with /galleries/*. At the moment it loads on all pages, which is kind of annoying since it is a heavy script (around 70k).
Is there a simple way to achieve this?
Thanks!
- L