Search code examples
mootools

Hotlink to hosted Mootools core & more library


Question: Is there any reliable/permanent link to the mootools core & more libraries?

I made an upgrade to a mootools slideshow and put it available online if anyone needs. But would like to have a Google link in the <head> for the javascript library but there is none...

Actually very little can be found for Mootools under the Google's Web developer library page


Solution

  • Only mootools-core available at CDN, you can link this from Google:

    <script src="//ajax.googleapis.com/ajax/libs/mootools/1.4.5/mootools-yui-compressed.js"></script>
    

    But mootools more consists of too many packages which may increase file size even if you don't use them. And I don't think your slideshow needs all you've included in mootools-more-1.3.2.1.js

    There's actually a mirror for mootools.more with full selection of components at cdnjs.com, but I think it's better to keep own mootools-more-build at your site.