Script

A program (or part of a program) responsible for executing a pre-defined action when a user performs an action or a web page is being displayed on a screen.