I have this extension where I want to open a new tab in the JavaScript part of the extension. Before migrating it to a Safari App Extension I could just do
window.open(url, "_blank");
But when I run this in Safari 12 as an App Extension it adds the current link to the Reading List (?!).
When I run the code above in the console it opens a new tab of the url
, but I have to enable popups in the Safari Preferences. I can't find anything in Apple's very poor documentation.
Is this even possible on "client side", or do I have to handle this in the Swift code?