XF 1.5 I can't include javascript in head section :(

dbembibre

Active member
Hi!!

I need include a simple javascript in head section but for some reason I cant.

I edit PAGE_CONTAINER, and add my code:

<!-- New code -->
<script type="text/javascript" src="xxxxxxxxxxxxxxxxx" charset="utf-8"></script>
<script type="text/javascript" src="xxxxxxxxxxxxxxxxxxxxxxxxxxxx" charset="utf-8" async></script>
<!-- end New code -->

I saved changes, and when I check I can see in source code:

<!-- New code -->
<!-- end New code -->

Nothing else!! It's like something block or delete script tags :(

If I search in source code, the scripts are located at bottom (not in head section):

<script type="text/javascript" src="xxxxxxxxxxxxxxxxx" charset="utf-8"></script>
<script type="text/javascript" src="xxxxxxxxxxxxxxxxxxxxxxxxxxxx" charset="utf-8" async></script>

I can't understand the reason.

Any ideas?

Regards!!!
 
Top