Hi, I’m having trouble using Readwise extension in Arc, the page url is not recognized.
I know the problem here is the context.browserUrl
property cannot be used in Arc.
However, as noted in github: Notion extension cannot retrieve the URL and title of Arc browser · Issue #1215 · pilotmoon/PopClip-Extensions, there is a way to get the tab url in Arc now.
So, in the future, hopefully, there will be an updated version so that context.browserUrl
can work in Arc.
For now, can I edit the extension file so that I can use it?
Then the problem come down to using both apple script and javascript.
The readwise extension’s js is here: PopClip-Extensions/source/Readwise.popclipext/readwise.js at master · pilotmoon/PopClip-Extensions
Is there a way to run an applescript inside it to get the url? If so how can I achieve that?
Thank in advance for you time.