Skip to content
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

Safari extension #62

Open
rakleed opened this issue Nov 30, 2020 · 6 comments
Open

Safari extension #62

rakleed opened this issue Nov 30, 2020 · 6 comments

Comments

@rakleed
Copy link

rakleed commented Nov 30, 2020

It would be nice if you made a Safari extension. Since starting with version 14, support for the WebExtensions API has appeared. More details: https://developer.apple.com/documentation/safariservices/safari_web_extensions

@bielperes
Copy link

With the release of Safari 14.0 Apple made available a way to convert web extensions to Safari, via XCode - https://developer.apple.com/documentation/safariservices/safari_web_extensions/converting_a_web_extension_for_safari.

@Alwinator
Copy link

I would love to see a Safari extension! Unfortunately, I am too busy to code one. Maybe I will find time in the next years.

@tofuya
Copy link

tofuya commented Jun 4, 2023

I've managed to get the extension working as a Safari extension by converting it in Xcode and making a few adjustments. Hopefully, it will be officially addressed.

  • out/app.js
    comment out chrome.management.getSelf(function(info) { and set client.testing = false // or true
  • aw-server/aw_server/server.py
     cors_origins.append("moz-extension://*")
+    cors_origins.append("safari-web-extension://*")
  • aw-server/aw-webui/src/queries.ts
 const browser_appnames = {
+  safari: [
+    'Safari',
+    'safari'
+  ],
   chrome: [

@viduranga
Copy link

Any chance this change can be merged? I'd really like to use the web watcher on safari :)

@ErikBjare
Copy link
Member

If anyone makes a PR with the changes I'd be happy to merge it :)

@mafredri
Copy link

I was working on this, but took a break hoping to get #100 in. Now there's also #103 but neither is progressing. I might pick this up again if we land on a solution, but won't commit my time as it stands currently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants