How to insert script-tag before closing body-tag?


I’ve google, searched this forum, and tried all of the following techniques:

  1. .onRendered and $.getScript
  2. Compatibility folder.
  3. Inserting inside head-tag
  4. Other solutions - cant recall.

What I need is to follow these instructions from InlineManual:

You can simply place the following code to the end of your HTML source 
or template of your web application; 
just before the closing </body> tag (see example HTML document):

<script src=""></script>

 And you are done! 

Thanks! :slight_smile:

Nobody knows how to do this?