scripting - Joomla remove scripts and css loaded by extensions -


Using Joomla 2.5 and I have a double example of jquery running on one of my pages, which I can get rid of Would like to I tried to experiment,

  $ document-> GetHeadData ();  

There is no need to set JS files in the array without any use. So what's my best choice to find and unload the JS file? It seems that the page is loading later in the rendering process and then the head data is being recapitalized. I'm using a yoo theme template with some other loaded loads

If possible, I would like to avoid template coding for template / extension files because it will unload it on every page and I want to unload it for just one page.

Try it out,

   

or

  & lt ;? Php unset ($ this- & gt; _scripts ['/ media / system / js / mootools-core.js']); ? & Gt;  

Then just add new js files to $ document-> Use ascript () .

Hope works for it ..


Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -