简体   繁体   English

Safari 12 中不受支持的 Safari 扩展的修复/解决方法?

[英]A fix/workaround for unsupported Safari Extensions in Safari 12?

The latest Safari update (12.0, Sept 17, 2018) turns off some and and stops supporting other extensions.最新的 Safari 更新(12.0,2018 年 9 月 17 日)关闭了一些并停止支持其他扩展。

在此处输入图片说明

Eg, many people use Pocket's Safari Extension to save items to a OS-independent list.例如,许多人使用 Pocket 的 Safari 扩展将项目保存到独立于操作系统的列表中。 But I don't see Pocket on Apple's new list of supported Safari Extensions ( https://itunes.apple.com/us/story/id1377753262 ).但我没有在 Apple 支持的 Safari 扩展新列表 ( https://itunes.apple.com/us/story/id1377753262 ) 上看到 Pocket。 That might be why Pocket now recommends that Mac users just use their Mac app:https://help.getpocket.com/article/1042-using-pocket-for-safari这可能就是 Pocket 现在建议 Mac 用户只使用他们的 Mac 应用程序的原因:https ://help.getpocket.com/article/1042-using-pocket-for-safari

Pocket may update their extension such that Apple starts supporting it again. Pocket 可能会更新他们的扩展,以便 Apple 再次开始支持它。 Until then, there might be a javascript bookmark(let) for saving items to Pocket ( https://support.apple.com/en-us/HT4550 ) or a Pocket email address to which you can send items to your account ( https://getpocket.com/add/ ).在此之前,可能会有用于将项目保存到 Pocket ( https://support.apple.com/en-us/HT4550 ) 的 javascript 书签 (let) 或您可以将项目发送到您的帐户的 Pocket 电子邮件地址 ( https ://getpocket.com/add/ )。

But are there fixes/workarounds that would allow no-longer-supported Safari Extensions to work in Safari 12?但是是否有修复/解决方法可以让不再支持的 Safari 扩展在 Safari 12 中工作?

You can manually install extensions through the developer menu.您可以通过开发者菜单手动安装扩展。 Enable Developer option in Safari (in preferences).在 Safari 中启用开发人员选项(在首选项中)。 Under the Developer menu, choose 'allow unsigned extensions'.在开发人员菜单下,选择“允许未签名的扩展”。 Once that's checked off, under the developer menu again open Extension Builder and choose the option to add extension.选中后,在开发人员菜单下再次打开扩展生成器并选择添加扩展的选项。 This will allow you to add new extensions.这将允许您添加新的扩展。 The one caveat is you have to reload it when you reboot.一个警告是您必须在重新启动时重新加载它。 You can find a step by step here https://georgegarside.com/blog/macos/install-any-safari-extension-macos-mojave/你可以在这里找到一步一步的https://georgegarside.com/blog/macos/install-any-safari-extension-macos-mojave/

Not an answer, but this might still help someone (I landed here looking for the "official" ways to deal with this situation).不是答案,但这可能仍然对某人有所帮助(我来到这里寻找处理这种情况的“官方”方法)。

Here are the two available options:以下是两个可用选项:

  • Install the app from the App Store, click on the Share button in the Toolbar, if Pocket is not there, click "More…" (last option) and check Pocket: the drawback is that you won't be able to add tags from there (you must do it from the app)从 App Store 安装应用程序,点击工具栏中的分享按钮,如果 Pocket 不存在,点击“更多...”(最后一个选项)并检查 Pocket:缺点是您将无法添加来自那里(你必须从应用程序中做到这一点)
  • Install the bookmarklet as one of the first 9 items, you will be able to trigger it with a keyboard shortcut (alt+cmd+1…9).将书签安装为前 9 个项目之一,您将能够使用键盘快捷键(alt+cmd+1…9)触发它。 This option lets you add tags.此选项可让您添加标签。

To install the bookmarklet:要安装书签:

  • visit https://getpocket.com/add?sb=1访问https://getpocket.com/add?sb=1
  • open the Bookmarks (click on the "Show sidebar" icon in Safari Toolbar)打开书签(单击 Safari 工具栏中的“显示侧边栏”图标)
  • drag the button to the Bookmark list (in a top position - 1 to 9)将按钮拖到书签列表(在顶部位置 - 1 到 9)

I did both, but I feel like I'll mostly add items using the bookmarklet.我两者都做了,但我觉得我主要会使用书签添加项目。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM