« XUL Reference home
onnewtab
Not in Firefox
Type: script code
This script will be called when the new tab button is clicked.