Coder Social home page Coder Social logo

Comments (20)

ArmandXiao avatar ArmandXiao commented on May 28, 2024 3
  • When I download the plugin from github and install it , I can get then content . However , when I select the content and click obsidian-clipper icon , it will open a new chrome tag but shutdown it quickly .

Workaround - paste this URL into your address bar (using your own vault name and note name as defined in the extension's settings):

https://jplattel.github.io/obsidian-clipper/clip.html?vault=Obsidian&note=Chrome%20Clippings

This time the tab will not close, and you will have time to click the box to allow the extension to do its thing.

Now the clipper is able to open a XXX.md in Obsidian; however, the content won't be written into XXX.md. It only copies the content to my clipboard.

Is there a way to let the clipper write the HTML or Markdown into the note automatically?

from obsidian-clipper.

loopernow avatar loopernow commented on May 28, 2024 1
  • When I download the plugin from github and install it , I can get then content . However , when I select the content and click obsidian-clipper icon , it will open a new chrome tag but shutdown it quickly .

Workaround - paste this URL into your address bar (using your own vault name and note name as defined in the extension's settings):

https://jplattel.github.io/obsidian-clipper/clip.html?vault=Obsidian&note=Chrome%20Clippings

This time the tab will not close, and you will have time to click the box to allow the extension to do its thing.

from obsidian-clipper.

Kayfum avatar Kayfum commented on May 28, 2024 1
  • When I download the plugin from github and install it , I can get then content . However , when I select the content and click obsidian-clipper icon , it will open a new chrome tag but shutdown it quickly .

Workaround - paste this URL into your address bar (using your own vault name and note name as defined in the extension's settings):

https://jplattel.github.io/obsidian-clipper/clip.html?vault=Obsidian&note=Chrome%20Clippings

This time the tab will not close, and you will have time to click the box to allow the extension to do its thing.

I find this box:
image
:(

from obsidian-clipper.

mrmarkgithub avatar mrmarkgithub commented on May 28, 2024 1

Hello,

On Win10, using Chrome and Brave. After changing the Options to my liking in both browsers, I clicked to save the vault and note configuration. Then I clicked the "Test configuration" button. It works like a charm in both browsers!

However, I cannot get any other page to work! What infos can I get you to assist in troubleshooting? (I am a tech guy but not a coder.)

I have followed all of the troubleshooting steps I could find. (Please feel free to forward a list and I will try them all again.)

  1. obsidian:// ... is opening Obsidian on my Win10 machine.
  2. https://jplattel.github.io/obsidian-clipper/clip.html ... Generates this error message in both browsers: Obsidian Clipper Error A
    Full Text of Dialog Box:

[Window Title]
Error

[Main Instruction]
Vault not found

[Content]
Unable to find a vault for the URL obsidian://new/?vault=obsidian&file=Chrome%20Clippings&append=true&content=Unable%20get%20contents%20of%20the%20clip

[OK]

  1. https://jplattel.github.io/obsidian-clipper/clip.html?vault=<MainVault> ... Generates this error message in both browsers:
    Obsidian Clipper Error B
    Full Text of Dialog Box:

[Window Title]
Error

[Main Instruction]
Vault not found

[Content]
Unable to find a vault for the URL obsidian://new/?vault=%3Cvaultname%3E&file=Chrome%20Clippings&append=true&content=Unable%20get%20contents%20of%20the%20clip

[OK]

It looks to me like the value is not properly being replaced with the actual vault name; I have only 1 vault: "MainVault".

What else can I try? How else can I be of help?

Regards,

Mark

from obsidian-clipper.

IVIJL avatar IVIJL commented on May 28, 2024

This trick should be written in readme.md. Was confused that its does not work.

from obsidian-clipper.

jplattel avatar jplattel commented on May 28, 2024

@IVIJL good idea, I'll add it to the readme. I'm also looking into better feedback on the user side when a clipping is done successfully.

from obsidian-clipper.

loopernow avatar loopernow commented on May 28, 2024

By the way, pretty sure this behavior only occurs on Microsoft Edge. If I remember correctly, the tab that disappears is a security permissions tab of some kind. It's been a while since I figured out the workaround, but what I recall is that on Chrome the tab doesn't close--it stays open allowing you to make a one-time choice to allow whatever it was asking you if you wanted to allow.

from obsidian-clipper.

IVIJL avatar IVIJL commented on May 28, 2024

from obsidian-clipper.

elifiner avatar elifiner commented on May 28, 2024
  • When I download the plugin from github and install it , I can get then content . However , when I select the content and click obsidian-clipper icon , it will open a new chrome tag but shutdown it quickly .

Workaround - paste this URL into your address bar (using your own vault name and note name as defined in the extension's settings):

https://jplattel.github.io/obsidian-clipper/clip.html?vault=Obsidian&note=Chrome%20Clippings

This time the tab will not close, and you will have time to click the box to allow the extension to do its thing.

I also needed to go to chrome://flags, search for "Insecure origins treated as secure" and add https://jplattel.github.io as a trusted origin. Otherwise Chrome doesn't display the checkbox that will always open Obsidian for obsidian://.

Those two things together got it to work on my system (Chrome 95, MacOS 10.15 Catalina).

from obsidian-clipper.

jroachgit avatar jroachgit commented on May 28, 2024

Hi there,
When selecting the text, and then hitting the extension, I get an error, saying "Error: URI too long"
If I don't select ANY text on a webpage and click the extension, a new note is created as expected.

from obsidian-clipper.

jplattel avatar jplattel commented on May 28, 2024

@jroachgit the bug you talk about is #20, I'm currently not able to fix it. I'm actively looking for work-arounds but haven't found any (yet!)

from obsidian-clipper.

wlai-lp avatar wlai-lp commented on May 28, 2024

If test config works but the extension button doesn't capture content, then it might be a filename issue. i followed the youtube tutorial and tried to clip a medium article, link
it generated the following text for file name, which I determined it was the "|" that prevented obsidian from creating the file

Deep%20Dive%20Time%20To%20End%20The%20Two-State%20Gatekeeping%20|%20by%20Mitchell%20Plitnick%20|%20Feb,%202022%20|%20Medium-2022-02-10

there are some special characters that's not allowed in filename, | is 1 of them.

my solution is to update the "Note to clip to" setting and removed {title} place holder for now, and it works right after

from obsidian-clipper.

jplattel avatar jplattel commented on May 28, 2024

@wlai-lp, that's a good find! I'll run a check on what characters are allowed in the note title and strip the rest, that way it's usable. (it can still clip the characters in the note body since all chars are allowed there!)

I'll include this is a next release!

from obsidian-clipper.

sideone avatar sideone commented on May 28, 2024
  • When I download the plugin from github and install it , I can get then content . However , when I select the content and click obsidian-clipper icon , it will open a new chrome tag but shutdown it quickly .

Workaround - paste this URL into your address bar (using your own vault name and note name as defined in the extension's settings):
https://jplattel.github.io/obsidian-clipper/clip.html?vault=Obsidian&note=Chrome%20Clippings
This time the tab will not close, and you will have time to click the box to allow the extension to do its thing.

I find this box: image :(

Replace 'vault=Obsidian' with the name of your Vault

from obsidian-clipper.

jplattel avatar jplattel commented on May 28, 2024

Closing this as the new version should now save the settings before testing, as well as keeping the test tab open to confirm any dialogs or errors that pop up!

from obsidian-clipper.

ksdavidc avatar ksdavidc commented on May 28, 2024

Let me add that to this:

I also needed to go to chrome://flags, search for "Insecure origins treated as secure" and add https://jplattel.github.io as a trusted origin. Otherwise Chrome doesn't display the checkbox that will always open Obsidian for obsidian://.

Doing this did not work by itself. However, I discovered the link was in my history, and if I went back, this time it did stop and show the open dialog. There was an option to always open such links, and that worked for me.

from obsidian-clipper.

fritzp6 avatar fritzp6 commented on May 28, 2024

I'm running Brave on KDE Neon. Things were working fine, then something changed, now your plugin is broke. (I know...usual story). After clipping a selection, I click on the Obsidian Clipper icon, I get a new empty note. In settings, if I set the note title to {title} I get only the first word of the title, but still no data in the note. I get the same results whether I use settings to have plain text or markdown. I tried your troubleshooting tips and get no errors that I can find. I just keep getting empty notes.

from obsidian-clipper.

gabb0z avatar gabb0z commented on May 28, 2024

Hello!
Running MacOS Ventura.

Plugin works fine with Chrome. In opera though, for some reason the test works, but the plugin doesn't work on websites.

When I run the test command from the extension page:
image

When I try to clip something:
image

It seems that when I try to use the extension on a web page, background.js:28 is not loaded

from obsidian-clipper.

Ches-ctrl avatar Ches-ctrl commented on May 28, 2024

Any help on this error?
image

from obsidian-clipper.

chrischung3 avatar chrischung3 commented on May 28, 2024

Hi, when I finished configuring, the "Test Configuration" would be successful. But this happened when I tried to clip it with the extension:

IMG_5448.MOV

from obsidian-clipper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.