Safari​Browser​Window vs SFSafari​Window

Or Safari App Extensions vs Safari Extensions


In SafariBrowserWindow you can get an array with all the tabs in the window, and also the active tab: .tabs, .activeTab.

In SFSafariWindow you can get the active tab only: getActiveTab()


Similarily, in SFSafariApplication you can get the active window only, not a collection of open windows.


I need the tabs and windows collections to be able to port my extension. Is it possible?

Replies

That information is not currently available on SFSafariWindow.


If you could please file a radar asking for support for getting all windows/tabs including the type of extension you'd like to be able to write, that would be very helpful for us!

OK, I made an enhancement request at the bug reporter. Someone else apparently did the same, since mine was closed as a duplicate.