aw-watcher-web icon indicating copy to clipboard operation
aw-watcher-web copied to clipboard

Safari extension

Open rakleed opened this issue 5 years ago • 9 comments

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

rakleed avatar Nov 30 '20 14:11 rakleed

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.

bielperes avatar Feb 28 '21 13:02 bielperes

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.

Alwinator avatar Aug 27 '22 12:08 Alwinator

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: [

tofuya avatar Jun 04 '23 01:06 tofuya

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

dulaj-me avatar Jan 31 '24 11:01 dulaj-me

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

ErikBjare avatar Jan 31 '24 11:01 ErikBjare

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.

mafredri avatar Jan 31 '24 12:01 mafredri