Document Script dialog box

Insert > Text > Script > Document Script

Script language type

Select the script language of the scripts. JavaScript is selected by default.

Scripts inside the <HEAD> element

Displays the scripts inside the <head> element. Add more by typing or pasting between the comment tags.

Document Script dialog box