Readwise in Arc

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.

HI, yes full Arc support will be coming to PopClip soon, Keep an eye on PopClip Beta. The first beta with it should be out in the next few days.

There’s nothing you can do with the extension itself as JS extensions can’t currently call out to AppleScript. The URL and title detection is performed within PopClip itself.

Thanks. Looking forward to that.

Just a quick update to say that the beta with Arc support is now available. Please let me know if it is working for you.

Just checked, it works smoothly now, thank you.

1 Like