The Joomla! Extensions Directory ™


CleanJS Plugin

In our quest to create HTML5 JQuery-Joomla templates, we've created this utility system plugin

JClean JS is a system plugin for Joomla created to remove Mootools frontend library dependency.

When Joomla fires onBeforeRender event, the plugin removes the following libraries:

* core.js
* mootools-core.js
* caption.js
* mootools-more.js
* gantry-totop.js
* gantry-buildspans.js

It also tries to remove routines associated with Mootools window.addEvent 'load' and window.addEvent 'domready' routines.

At the end, it adds an empty stub routine window.addEvent to avoid any dependency error on Mootool's addEvent.

*** Installation & Upgrading ***

Download the last version and install it using the default install Joomla!. Please, remember to enable the plugin.

*** Configuration **

No configuration available at this moment. In the roadmap, we are planning to add several parameters to tweak each feature.

*** Parametrization **

Template name
addScript 1
addScript 2
addScript 3
Add empty addEvent
JS file to remove 1
JS file to remove 2
JS file to remove 3
JS file to remove 4
JS file to remove 5
JS file to remove 6
JS file to remove 7
JS file to remove 8

*** Changelog ***

- Updates in 1.2.1-

Defaults values removed, and checked on J!2.5.4

Report Extension

 

 

2012-04-20
Reviews: 2
This plugin look great.
But don't work at all on joomla 2.5.4
I wait for a new version.
Owner's reply

Thank you!

In the next week, we are publishing a new version with a few fixes.