An inserted script is indicated by a small green rectangle. If you do not see the rectangle, choose LibreOffice - PreferencesTools - Options - LibreOffice Writer/Web - View, and select the Comments check box. To edit a script, double-click the green rectangle.
If your document contains more than one script, the Edit Script dialog contains previous and next buttons to jump from script to script.
Enter the type of script that you want to insert. The script is identified in the HTML source code by the tag
Locate the script file that you want to link to, and then click Insert.
Enter the script code that you want to insert.