-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
extension no longer available in Safari #1002
Comments
Oh, I've seen that before when developing. As best I can tell, it seems to be a problem with Safari. I can normally get it to work by completely closing Safari (and the 10ten app) and then re-installing. I'm really sorry for the trouble, I'm not sure what it going on, but I think it's a Safari bug. |
Hi, thanks for that, but *how* do I re-install? I quit both Safari and 10ten, open the app store, get an “open” button on the app store and then the “quit and open extensions” button, but nothing happens. 10ten is not available in safari extensions.
… On Oct 16, 2022, at 17:31, Brian Birtles ***@***.***> wrote:
Oh, I've seen that before when developing. As best I can tell, it seems to be a problem with Safari. I can normally get it to work by completely closing Safari (and the 10ten app) and then re-installing. I'm really sorry for the trouble, I'm not sure what it going on, but I think it's a Safari bug.
—
Reply to this email directly, view it on GitHub <#1002 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/APHZIOXXUWPM36ABIHFK7KLWDO4O7ANCNFSM6AAAAAARGH45IE>.
You are receiving this because you authored the thread.
|
Oh, good question. I'm really unfamiliar with Macs so I don't know how you normally uninstall programs. (When I am developing, uninstalling normally just means stopping Xcode.) Can you drag it from Application to the trash can? |
Thought that was a great idea - deleted the app entirely, re-downloaded it, but it still does not appear as an extension that can be activated.
Incidentally, do you know why the button (below) that I am shown flashes when I click it but then does nothing? Is it just giving instructions to users? And what does the message on it mean? Quit *what*?
… On Oct 16, 2022, at 17:39, Brian Birtles ***@***.***> wrote:
Hi, thanks for that, but how do I re-install? I quit both Safari and 10ten, open the app store, get an “open” button on the app store and then the “quit and open extensions” button, but nothing happens. 10ten is not available in safari extensions.
Oh, good question. I'm really unfamiliar with Macs so I don't know how you normally uninstall programs. (When I am developing, uninstalling normally just means stopping Xcode.) Can you drag it from Application to the trash can?
—
Reply to this email directly, view it on GitHub <#1002 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/APHZIOR7YQ5JRKMHOGR3FLLWDO5L7ANCNFSM6AAAAAARGH45IE>.
You are receiving this because you authored the thread.
|
I'm afraid I can't see the screenshot I think you sent. The button is the default text and code from the Safari Extension template. It means to quit the native extension "app" (which does basically nothing except show that button). Do you happen to know which version of Safari you have? |
Here is the version:
Version 15.6.1 (17613.3.9.1.16)
I think it is set to automatically update whenever available, so an update may have messed up something.
… On Oct 16, 2022, at 18:15, Brian Birtles ***@***.***> wrote:
I'm afraid I can't see the screenshot I think you sent.
The button is the default text and code from the Safari Extension template. It means to quit the native extension "app" (which does basically nothing except show that button).
Do you happen to know which version of Safari you have?
—
Reply to this email directly, view it on GitHub <#1002 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/APHZIOTKUXYKQF3GOLDT46DWDPBT3ANCNFSM6AAAAAARGH45IE>.
You are receiving this because you authored the thread.
|
Thanks for that. I'm afraid I don't have any particularly good ideas. Maybe @shirakaba can help? |
@cookieo This does smell like a Safari bug - Web Extensions in Safari are implemented as macOS App Extensions that wrap around the actual Web Extension bit (and furthermore a macOS app that wraps around the App Extension bit), so they have some extra failure points compared to other browsers. If it's not appearing in the Safari window's menubar, then it would seem that it hasn't been enabled in the list of Web Extensions under For it to not be in the list, it would seem that it hasn't been installed ("installation" is defined as the I think this sounds like the same problem that Ghostery encountered with their Web Extension. Here's something I spotted in their FAQ:
I think it's worth a try, though first I'd like to get a bit more familiar with /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -dump Here's my output for that command (which we'll call healthy, as 10ten Japanese Reader is working for me). Note that in this sample, I've excluded a bunch of irrelevant entries between the bundle and the extension as it's a very long file: My lsregister output for 10ten Japanese Reader
In order to help us debug this situation in future, could you please run that same command and show what those two entries look like for you? My suspicion is that that it might be showing just one entry for you - the app, but not the app extension. That, or the entry for the app extension on your side is corrupted. After providing that information, I think you'd just need to run this (the exact command suggested by the Ghostery developers) to force an update of applications registered with the Launch Services database with respect to Safari. /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -f /Applications/Safari.app |
Gulp! I think maybe I’ll wait to see if Apple solves the problem eventually - because it must be theirs. After all, they say the extension was downloaded and let me open it. Back to 10ten on Firefox for now!
… On Oct 17, 2022, at 17:12, Jamie Birch ***@***.***> wrote:
@cookieo <https://github.com/cookieo> This does smell like a Safari bug - Web Extensions in Safari are implemented as macOS App Extensions that wrap around the actual Web Extension bit (and in fact a macOS app that wraps around the App Extension bit), so they have some extra failure points.
If it's not appearing in the Safari window's menubar, then it would seem that it hasn't been enabled in the list of Web Extensions under Safari > Preferences... > Extensions. However, as you've found, it's not even visible in that list, which is unexpected.
For it to not be in the list, it would seem that it hasn't been installed ("installation" is defined as the 10ten Japanese Reader.app having been added into your Applications folder, and having been trusted by the OS). However, as you've installed it via the App Store and you appear to be able to open the (yes, very minimal) app just fine (proving that macOS trusts it), it implies that something elsewhere in the macOS infrastructure has gone wrong.
I think this sounds like the same problem that Ghostery encountered with their Web Extension. Here's something I spotted in their FAQ <https://www.ghostery.com/faq>:
Why can't I find Ghostery in the Safari Extension list?
There seems to be a bug in Safari causing this. Please run the following command in the terminal to fix it:
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -f /Applications/Safari.app
I think it's worth a try, though first I'd like to get a bit more familiar with lsregister to understand what it's doing. First, with reference to this article <https://sufiyanyasa.com/blog/reset-launch-services/> let's print out all the entries in LaunchServices.
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -dump
Here's my output for that command (which we'll call healthy, as 10ten Japanese Reader is working for me). Note that in this sample, I've excluded a bunch of irrelevant entries between the bundle and the extension as it's a very long file:
My lsregister output for 10ten Japanese Reader
In order to help us debug this situation in future, could you please run that same command and show what those two entries look like for you? My suspicion is that that it might be showing just one entry for you - the app, but not the app extension. That, or the entry for the app extension on your side is corrupted.
After providing that information, I think you'd just need to run this (the exact command suggested by the Ghostery developers) to force an update of applications registered with the Launch Services database with respect to Safari.
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -f /Applications/Safari.app
—
Reply to this email directly, view it on GitHub <#1002 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/APHZIOVVIJY3XARBJGHJ3UDWDUC6VANCNFSM6AAAAAARGH45IE>.
You are receiving this because you were mentioned.
|
@cookieo I think the
But we're happy to see it used on Firefox either way! |
Hi, thanks, but the first approach did not work. Also, the animation given by Ghostery to add it to the extensions is not what I get when I open the app. Their animation shows a link to Safari Preferences, but when I open the app there is no such link. When I manually navigate to Safari extensions, there is no Ghostery.
Anyway, thanks for the effort.
… On Oct 18, 2022, at 10:31, Jamie Birch ***@***.***> wrote:
@cookieo <https://github.com/cookieo> I think the lsregister command above is a perfectly safe one-liner to run (and in particular, I trust the Ghostery folks), but if it's a bit daunting, then I have some guesses we could try:
You could try right-clicking any .html file in your desktop and choosing "Get Info". That'll bring up this menu:
<https://user-images.githubusercontent.com/14055146/196312323-768b8ab9-26a7-421e-b80e-e020c96b73a5.png>My thinking is that maybe if you changed "Open with: Safari (default)" to some other web browser like Firefox, then clicked "Change All..." to apply to all HTML files, then change it back, it might force a reload of Safari's associated launch services (which is what we're aiming for). 2. You could equally try installing another Web Extension into Safari (e.g. Ghostery) to see if that refreshes things.
But we're happy to see it used on Firefox either way!
—
Reply to this email directly, view it on GitHub <#1002 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/APHZIOXQEZ7M6UGQGTF7MV3WDX4XFANCNFSM6AAAAAARGH45IE>.
You are receiving this because you were mentioned.
|
It has disappeared from the tool bar and does not appear as an extension in safari preferences. When I try to download from the App Store, I just get a button that says "Quit and Open Safari Extensions Preferences". I click this and nothing happens. I also quit the App Store and open safari extensions and 10ten is not there.
This is a bit confusing.
The text was updated successfully, but these errors were encountered: