Hacker News new | ask | show | jobs
by akvadrako 2828 days ago
This is wrong - you can inject arbitrary scripts and styles:

https://developer.apple.com/documentation/safariservices/saf...

1 comments

You didn’t reply to or contradict anything they said. You need Xcode to build extensions and Safari has a super limited API. Executing JS and CSS don’t address either.
He didn’t say limited, he said nonexistent.

More specifically, if you can inject scripts I don’t see why you couldn’t call window.close()