Wednesday, January 23, 2013

Safari Extensions

safari.extension.bars returns all bar window objects for a Safari Window.
safari.extension.baseURI returns the id of safari extension per session


safari.application.activeBrowserWindow returns the reference to active window


The user can hide the extension bar using the View menu, but the extension bar page still loads every time a window is opened and any JavaScript still executes—only the display is suppressed by the View menu.

openTab() will open a new Tab

openBrowserWindow() will open a new Window.

No comments: