Comments (20)
- 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¬e=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.
- 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¬e=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.
- 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¬e=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.
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.)
- obsidian:// ... is opening Obsidian on my Win10 machine.
https://jplattel.github.io/obsidian-clipper/clip.html
... Generates this error message in both browsers:
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]
https://jplattel.github.io/obsidian-clipper/clip.html?vault=<MainVault>
... Generates this error message in both browsers:
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.
This trick should be written in readme.md. Was confused that its does not work.
from obsidian-clipper.
@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.
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.
from obsidian-clipper.
- 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¬e=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.
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.
@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.
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.
@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.
- 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¬e=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.
Replace 'vault=Obsidian' with the name of your Vault
from obsidian-clipper.
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.
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.
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.
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:
It seems that when I try to use the extension on a web page, background.js:28 is not loaded
from obsidian-clipper.
from obsidian-clipper.
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)
- 无法摘取到内容 HOT 1
- Download pictures to default attachment location
- support {domain} to define folder name and note title HOT 1
- Manage metadata
- Extension will not load on MacOS Firefox v107 HOT 2
- Template for New Notes? HOT 1
- Does this support latex(mathjax) and lazyload page?
- Add-on not working on Firefox HOT 3
- Background clipping
- Kio error
- how about add it to Right click shortcut menu
- Clipping not working in Arc Browser
- Store whole page, with highlights marked?
- Not working if selection includes images.
- The new tab with the link opens and then shuts quickly. Obsidian does not get the clipping. HOT 4
- MacOS Chrome permission is not saved
- Strip out http and https in the filename that gets created
- Chrome on Linux doesn't work, tab closes immediately HOT 1
- Conflict with KDE Autostart
- Cannot be Installed on Firefox: The File is Corrupt Error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from obsidian-clipper.