SFSafariPageProperties for bundled html pages

Is there any way to determine if a bundled html page is already open within Safari?

Iterating through the open tabs and looking at the page properties (url, title, etc...) all return nil for bundled html pages currently open in the browser.

When a user clicks the toolbar icon in my extension, I'd like to check if another instance of the extension's bundled html page is already open in a tab, and if so, activate that tab rather than opening another instance.

Answered by Frameworks Engineer in 625172022
Safari App Extensions can't access anything that isn't about:blank, or an HTTP or HTTPS URL. If you would like to see this changed, please send us feedback via Feedback Assistant. Thanks!

Accepted Answer
Safari App Extensions can't access anything that isn't about:blank, or an HTTP or HTTPS URL. If you would like to see this changed, please send us feedback via Feedback Assistant. Thanks!

SFSafariPageProperties for bundled html pages
 
 
Q