aw-watcher-web
aw-watcher-web copied to clipboard
Safari extension
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
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.
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.
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 setclient.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: [
Any chance this change can be merged? I'd really like to use the web watcher on safari :)
If anyone makes a PR with the changes I'd be happy to merge it :)
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.