Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at



Trigger scripts are typically invoked by JavaScript event handlers on hyperlinks. When a user clicks the link "Install the New Blue theme" in the example below, XPInstall downloads, registers, and installs the theme contained in newblue.xpi to the user's profile directory.

<a href="#"
Install the New Blue theme</a>

Document Tags and Contributors

 Contributors to this page: Sheppy, trevorh, Domingos Savio Salvador, Fredchat, Rod Whiteley
 Last updated by: Sheppy,