Open chrisgrieser opened 1 year ago
I guess you'd like an auto-launch if not started, and then doing the query, but those scripts are getting a bit hairy & repetitive (between google, kagi, and ddg), so I'd like to refactor them before making them more complex :p
In the meantime, I added a callback to correctly handle errors
Right now, if using Omnisearch with the respective user-script, there is simply a "Loading…" message to the sidebar, which never resolves. It would be useful instead the userscript could launch Obsidian, ensuring the display of the Omnisearch-sidebar. (Probably as an optional setting for the userscript)
The launching should be possible from a user userscript thanks to Obsidian's URIs.