When ever a new page is loaded, the onload= event trigger executes the IfMatch() function. If the URL of the page matches the specified URL, in this case 'trellian.com', the button caption is changed. The second function SetParam() changes the button's default action.
Note the use of the $URL system variable to compare the currently loaded page.
Compatibility:
Requires ToolbarBrowser version 2.3.1 or later. In versions prior to 2.3.1, the else parameter is ignored.