I don't know how to fix your problem in an easy way, but I think I can at least point you in the right direction.
you will find this line:
It's used to load this file:
In it, if for example you delete this:
Code: Select all
// Generate script file links
foreach ($document->_scripts as $strSrc => $strAttr)
$buffer .= $tab . '<script src="' . $strSrc . '"';
$buffer .= ' type="' . $strAttr['mime'] . '"';
$buffer .= ' defer="defer"';
$buffer .= ' async="async"';
$buffer .= '></script>' . $lnEnd;
You won't have any of the scripts joomla usually loads. Of course, it would be better to have an override rather than modifying joomla's core files. I am not sure what's the best way to do that, but maybe this site
will help you.
Anyway, I am sure someone will come across this topic and be able to help you better than I.
Good luck still.