Skip to Content

Chris Ilias' Blog

I still dream of Organon

Prefbar tips

Closed
by October 19, 2005 Mozilla

Here are some Prefbar tips I’ve kept around.

– To create a button for NormalText 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();

Previous
Next