Inherits from | |
Technology area | Safari Extensions |
Availability | Available in Safari 5.0 and later. |
The SafariApplication
class allows a Safari extension to interact with the Safari application.
The active browser window.
readonly attribute SafariBrowserWindow activeBrowserWindow
If there are no open browser windows, the value of this attribute is null
.
The current browser windows, in order from front to back.
readonly attribute array browserWindows
If there are no browser windows, the array is empty.
Using activeBrowserWindow
is more efficient if you only want the frontmost window.
Opens a new browser window in front of all other windows.
SafariBrowserWindow openBrowserWindow (void);
The newly opened window.
Last updated: 2010-07-13