Here are some Prefbar tips I’ve kept around.
– To create a button for Normal ‘Text Size‘, use the onclick value
ZoomManager.prototype.getInstance().reset();
– To create a button for ‘Close Tab‘, use the onclick value
BrowserCloseTabOrWindow();
(this may cause your window to close if you click on it, with one tab open)
– In the Mozilla Application Suite, to create a button for ‘Fill in Form‘, use the onclick value
formPrefill();