neomanic / save_macos_browser_tabs

Applescripts to save all tab titles and URLs, in a web browser on macOS, to a Markdown text file on the Desktop. *Not* a web extension: good for the privacy conscious.
Other
1 stars 0 forks source link

Add script for Google Chrome #1

Open neomanic opened 2 years ago

neomanic commented 2 years ago

I want to add it, except I don't fancy to install Chrome here.

As per my tweet:

Grab the Edge script, change line 31 to "Chrome" and line 43 to the app name, maybe "Google Chrome", and see if it works.

As soon as someone lets me know, I'll add it.

neomanic commented 2 years ago

According to the JXA Cookbook:

You must allow JavaScript from Apple Events under View > Developer > Allow JavaScript from Apple Events.