Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Help Request] Using a Bookmarklet Java Script #1

Closed
FelipeRearden opened this issue Oct 18, 2021 · 3 comments
Closed

[Help Request] Using a Bookmarklet Java Script #1

FelipeRearden opened this issue Oct 18, 2021 · 3 comments
Labels

Comments

@FelipeRearden
Copy link

@FelipeRearden FelipeRearden commented Oct 18, 2021

Hello @ryanpcmcquen !!!!

I have a question for you about a idea that I have. I wanna know if your plug-in could help to achieve that.

I'm sorry if is not something related to your plug-in. Feel free to close this Issue if it was the case here :)

I'm a newbie and don't know how to achieve this.

The js script

I have a js script that transfer the content of a URL in Safari to a new note in Obsidian. This bookmarklet was created by our community friends here:

It's working amazing to transfer content from Safari to Obsidian

My Workflow

I have a bunch of URLs in a note in Obsidian that are from an App that I use to listen and "highlight" podcasts (the App generates an URL with the transcript from each highlight that I do from the podcasts episode). For each episode I have 20/30 URL that I use Siri Shortcuts to export than to Obsidian as an .md file.

What I want in this workflow is to extract the content of these URLs to Obsidian Without having to go to Safari.

  • It's the same concept that I show above without using an URL that is is Safari.

I tried every plugin for extract URL that we have in Obsidian Store and these URLs does not work with them :(

BUT this bookmarklet in able to extract the content just the way that I needed :)

My Question

I wanna kindly ask your help ...

Is it possible to use your plug-in to run this js script while I select (or copy to clipboard) a URL in Obsidian?

If Yes, could you help to achieve this? 🙏🙏🙏


Thanks for reading this! Let me know if you need any information.

Again, I'm sorry if is not something related to your plug-in. Feel free to close this Issue if it was the case here :)

I wish you a fantastic Day!

@ryanpcmcquen
Copy link
Owner

@ryanpcmcquen ryanpcmcquen commented Oct 18, 2021

It should be possible to select the URL, then fire the JS with the sidebar button or command. You'll need to adjust the script to make the URL input your selection.

@FelipeRearden
Copy link
Author

@FelipeRearden FelipeRearden commented Oct 18, 2021

Thanks for your reply.

I will try to talk to the bookmarklet creators in the forum to see if they could help me.

Unfortunately I dont have code skills to change the code.

@ryanpcmcquen
Copy link
Owner

@ryanpcmcquen ryanpcmcquen commented Dec 27, 2021

Let me know if more help is needed here, but I am closing this for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants