Script for Live Chat Support


I want to use a Support Live Chat.
Normally a script has to be placed in the html of the index.html header but when I put it in the index.html in var/www/html it doesn’t works.
The Chat Widget appears only for a milisecond and then the index.php is loaded.

Is there another place where I can put the script in?