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

The new tab with the link opens and then shuts quickly. Obsidian does not get the clipping. #77

Open
ksdavidc opened this issue Aug 27, 2023 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@ksdavidc
Copy link

Describe the bug

  • The new tab with the link opens and then shuts quickly. Obsidian does not get the clipping.
  • However, the link itself appears in the browser history and will work if clicked
  • getting error:fetch.js:41 POST https://sentry.io/api/69811/envelope/?sentry_key=31109f033e4e4e079fb4ac6469656eb5&sentry_version=7&sentry_client=sentry.javascript.browser%2F7.64.0 net::ERR_BLOCKED_BY_CLIENT

Running test configuration works fine. Sometimes clipping works.
The link https://jplattel.github.io/obsidian-clipper/clip.html?vault=... etc. appears in my history and if I click it it does work. It just doesn't work the first time.

To Reproduce
Steps to reproduce the behavior:

  1. open the developer tools
  2. make a selection
  3. click the plugin
  4. tab will appear briefly and then closes
  5. the error will appear in the tools

Expected behavior
I expected the clipped text to appear in Obsidian

Screenshots

Desktop (please complete the following information):

  • OS: [e.g. iOS] Mac Monterey
  • Browser [e.g. chrome, safari] chrome 116.0.5845.110
@ksdavidc ksdavidc added the bug Something isn't working label Aug 27, 2023
@ianbetteridge
Copy link

I have had the same issue with both Edge (using the Chrome extension, on Windows) and Firefox (on Linux). The new tab with the link opens, the option to allow the extension to open Obsidian appears for a second then disappears - although it's hard to see as it happens quickly, it looks like it is selecting the option to deny access to Obsidian.

There may be a workaround (I have tested this on Edge/Windows and it works, but not on Firefox yet):

  1. Configure the extension, and choose "Test configuration"
  2. This gives you the option to allow the extension to access Obsidian - and it doesn't disappear.
  3. Make sure you select the option to always allow access to Obsidian
  4. Boom - it now works with any clipping.

@deladriere
Copy link

@ianbetteridge I have the same issue on MacOs 13.6 with Chrome
I want to activate the 'test configuration'; where do I find this option ? (I don't see it)

@ianbetteridge
Copy link

@ianbetteridge I have the same issue on MacOs 13.6 with Chrome I want to activate the 'test configuration'; where do I find this option ? (I don't see it)

It's in the same place that you configure the extension, right at the bottom. Right click on the extension in your toolbar, and selection "Options", and then it's right down at the bottom just below "Save vault & Note configuration"

@deladriere
Copy link

Aha, thanks for your support, I use another clipper
https://chrome.google.com/webstore/detail/obsidian-clipper/hkfbbbooclabgjedfpeihhjjlgeclgnf
but I have the same problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants