Things I have tried
There’s an extension that fetches URL titles: obsidian://show-plugin?id=obsidian-auto-link-title
What I’m trying to do
However, this won’t work if you’re logged in on a page (i.e. a Kajabi course page) and will provide you with a login page title instead.
Wondering if anyone worked out a reliable Keyboard Maestro/Tampermonkey solution that would fetch the actual title when copying the link?
If on macOS, the linked solution below works perfectly.
I use it with the hotkey: CTRL OPT CMD U
It captures the title and URL ready to paste into Obsidian:
[A Shortcut to Create a Markdown Link from Safari in macOS | Jorge Arango](https://jarango.com/2022/04/13/a-shortcut-to-create-a-markdown-link-from-safari-in-macos/)
A Shortcut to Create a Markdown Link from Safari in macOS | Jorge Arango
Thanks @eightning, your Shortcuts solution inspired me to tinker with it a bit and together with other Redditors we came up with this https://www.reddit.com/r/shortcuts/comments/z31i9x/fetching_titleurl_from_the_active_tab_in_safari/ (please see the solution post).
Link to the Shortcut file: Shortcuts
Just updated the shortcut I was using. Brilliant. Very grateful.