Including and Excluding FooBox Asset Loading
As you already know, FooBox adds lightbox functionality to your website. The nature of WordPress shortcodes and plugins limits the ability to know when images or videos will be on a specific page, so FooBox assets are loaded on all pages on your website.
FooBox Assets Are Loaded On All Pages
Having the assets loaded on all pages makes sense for graphic intensive websites, but it does not make sense for smaller sites that only make use of FooBox on 1 or 2 pages.
Can I Disable Assets Loading?
Yes! Navigate to the FooBox Settings -> Advanced tab. Check the setting Exclude FooBox Assets:
Now, all pages and posts will not load the FooBox assets.
Opt-In to Load FooBox Assets