« XUL Reference home onunload Type: script code Closing the window calls this event handler on the prefwindow element.