Post

Replies

Boosts

Views

Activity

Please Simplify Safari Extension Permissions
Permissions are incredibly unintuitive. You have to keep clicking the toolbar icon to see if there's a new permission to allow. There's no alert, no notification, users just have to stumble upon it. It took me a while to figure out how to get things working, and I made it! No one else is going to have the same patience. In my case I'm making background xhr calls to pull content from third parties. You can either allow permission for the day, always allow for just that site.. or allow it to run on every site on the internet. Please just automatically open the toolbar icon when a new permission is requested, and have an option to "always allow on requested sites" we explicitly list the sites we need access to in the manifest, if we only list 2 websites, why are you asking users to grant permission to every website they ever visit?
2
1
1.3k
Sep ’20
browser.permissions.onAdded support?
Does Safari 14 support onAdded and onRemoved? I'm having no luck getting these to trigger from background.js. browser.permissions.onAdded.addListener(function(permissions){     console.dir('permissions added'); }); browser.permissions.onRemoved.addListener(function(permissions){     console.dir('permissions removed'); }); How do you recommend refreshing the page when permissions change? Constant polling?
3
0
686
Sep ’20
iOS 16 kills WKWebView instances unattached to a ViewController
In iOS 16 If you create a WKWebView instance in the app delegate and try to load something into it, it will crash. If I add the webview to the main viewcontroller but hide it off-screen, everything works fine. The problem is this webview should be headless and unattached because I'm only using it to scrape data and not displaying anything. Why waste the ram? iOS 16 betas did not have this issue. [XPC] Handle connection with error: Connection interrupted WebProcessProxy::didClose: (web process 0 crash) WebProcessProxy::processDidTerminateOrFailedToLaunch: reason=Crash ProcessAssertion::acquireSync Failed to acquire RBS assertion 'ConnectionTerminationWatchdog' for process with PID=0 [ServicesDaemonManager] interruptionHandler is called. -[FontServicesDaemonManager connection]_block_invoke WebPageProxy::dispatchProcessDidTerminate: Not eagerly reloading the view because it is not currently visible
2
0
2.4k
Sep ’22