Posts

Post not yet marked as solved
8 Replies
0 Views
I already received some feedback from users inquiring why the toolbar icon is blue in my extension. Just so it's clear for anyone coming to this topic , the developers have no way of removing the blue colour.
Post not yet marked as solved
3 Replies
0 Views
I don't think it's currently possible and I doubt it will ever be. What you can do is have a companion app to read the local files (will require user's permission) and communicate with the extension via native messaging.
Post marked as solved
6 Replies
0 Views
I obviously understand bugs are not fixed immediately but considering 110 just came out and the issue persists, is there any way to actively track this bug in case I need to provide more feedback? I noticed my original feedback ID was never updated despite actually being partly implemented. I am just concerned it will go unfixed by the time Safari 14 comes out of beta
Post marked as solved
6 Replies
0 Views
Right, I am aware of the reasoning and I (sort of) agree with it. My question is the unexpected behaviour. Safari changes the baseURI of the extensions on launch. If there are any extension internal pages open, eg.: safari-extensions://1234-1234-123-1233/ it will reload the tab with the new baseURI. My question is if stripping the query parameters from those internal pages, expected or a bug. Thank you
Post marked as solved
3 Replies
0 Views
Yes, this works! I just tested this as I was curious myself, and when Safari asked me for Touch ID my watch would also give me the option to authorise a sign in. Is there any place where this can be tested? All webauthn demos I see use the security key
Post not yet marked as solved
9 Replies
0 Views
@bweinsteinJust checked TP 107, the issue remains.Here's a very short video recording showing the issue, notice the location.href output before and after restarting Safari:https://dropbox.com/s/kgcfyhb5vquielz/Screen%20Recording%202020-05-15%20at%2023.29.43.mov?dl=0
Post not yet marked as solved
9 Replies
0 Views
Thank you for your reply!Repro steps:1. Make the extension open a new tab with the baseURI and a parameter, eg.:safari-extension://2CB967-22BA-44F3-B604-72611F/aafefbf/test.html?title=Apple&color=redHere's the code I'm using:SFSafariApplication.getActiveWindow { activeWindow in SFSafariExtension.getBaseURI { baseURI in guard let baseURI = baseURI else { return } var urlComponents = URLComponents(string: baseURI.appendingPathComponent("test.html").absoluteString); urlComponents?.queryItems = [ URLQueryItem(name: "title", value: "Apple"), URLQueryItem(name: "color", value: "red"), ]; activeWindow?.openTab(with: (urlComponents?.url)!, makeActiveIfPossible: true, completionHandler: {_ in }); } }3. Wait for the page to load4. Quit Safari5. Open SafariExpectation:- Safari updates the baseURL of that tab and keeps the query parameters, eg:safari-extension://11111-new-baseURI-44F3-B604-72611F/o213s/test.html?title=Apple&color=redActual:- Safari sets the tab's url with the baseURI only, stripping the query parameters, eg:safari-extension://11111-new-baseURI-44F3-B604-72611F/o213s/test.htmlThank you
Post not yet marked as solved
9 Replies
0 Views
@bweinsteinThe issue persists in TP 105. I'm afraid this change will get merged to the main Safari release, effectively killing my Safari extension.Is there anything I can add to the plist file to make Safari not strip the query parameters?Thank you
Post not yet marked as solved
9 Replies
0 Views
Hi,Just saw the TP 104 release, thank you!There is just one issue that could prove fatal for the extension I developed. Not sure if it's intentional, but the query parameters are stripped from the url when it gets restored. For instance, this is the original url:safari-extension://2CB9D967-22BA-44F3-B604-7261CE7D0D1F/aafefbf/suspended.html?title=Apple&favicon=https://www.apple.com/favicon.ico&url=https://www.apple.com/and this is the url after closing and launching Safari TP 104:safari-extension://6DCE5D9E-209A-44F1-8090-3BB36CD27184/86bca88/suspended.htmlThank you for your attention
Post not yet marked as solved
9 Replies
0 Views
Thank you for your reply. Ideally, the favicon would be dynamic, ie. as on a normal web page. If no favicon is specified it could default to the extension's icon.
Post not yet marked as solved
9 Replies
0 Views
Wish I saw your message before, I filled a TSI meanwhile! 😐It's a simple page showing the original tab's URL, title and screenshot: https://www.dropbox.com/s/x8c7pnfncixlvhw/Screenshot%202020-03-03%20at%2016.00.14.png?dl=0Not related to this issue, but I guess it's also not possible to set the favicon of a safari-extension:// page, right?
Post not yet marked as solved
1 Replies
0 Views
Safari App extensions are disabled by default when installed, you need to ask the user to enable it