Thinking Web Publishing? Think!
Custom Website Design and re Design, Custom Website Development, Social Media Networking, B2B Networking, Search Engine Optimizations and Online Marketing.

Web Design Agency Search

Follow Us on Pinterest

Read Our TimeLine

Share With Us on Pinterest

How to Remove mootools.js
How to remove mootools.js
Web Development and Web Technology
Written by Nikolay Gul   
I will start with easiest way to remove mootools.js and caption.js from you templates.
Just comment or remove them...
However there are some other more fancy ways: For most Joomla 1.5 template, they don't use mootools.js and caption.js at all. These two JavaScript libraries are mainly used in the administrator control panal. Their size are about 75K, and decrease the response speed of Joomla site. Here I introduce a method to remove the two JavaScript libs.
To make sure your Joomla site have the two scripts in the front site, you can look you site's html source code and will find the following code:

To remove the above javascript's import, you just need to add the following code at the top of your template's index.php file.
		foreach($headerstuff['scripts'] as $key=>$value){
Clear cache and go back to you front site's source code, you will find the mootools.js and caption.js gone.

Professional Website Design, eCommerce Programming, SEO and Marketing Agency in New York
Email Us @ 2004-2017 © All rights reserved