How could I get the "Copy link to Highlight" rather than just the URL in Microsoft Edge?

In the latest version of Microsoft Edge, I prefer to use a link to the selected text(Copy Link to Highlight), which has a similar effect to the Deep Link in PDF.
Like this one.
But Hookmark seems only could get the URL of the current page. Could you update Hookmark to support it?

1 Like

Welcome to the Hookmark Forum, @jierme. Very relevant request.

I have now tested the behavior in Edge Hookmark does yield a deep link:

Procedure:

In Edge on this page Modulation of behavioral and neurochemical responses of adult zebrafish by fluoxetine, eicosapentaenoic acid and lipopolysaccharide in the prolonged chronic unpredictable stress model - PMC

  1. select “As these data support the validity of PCUS as an effective tool to study stress-related pathologies in zebrafish, further research is needed into the ability of various conventional and novel treatments to modulate behavioral and neurochemical biomarkers of chronic stress in this model organism.”
  2. control click
  3. “Copy Link to Highlight”

4. in textedit in tmp.txt file

  1. paste that, which pastes:
    https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8275758/#:~:text=As%20these%20data%20support%20the%20validity%20of%20PCUS%20as%20an%20effective%20tool%20to%20study%20stress%2Drelated%20pathologies%20in%20zebrafish%2C%20further%20research%20is%20needed%20into%20the%20ability%20of%20various%20conventional%20and%20novel%20treatments%20to%20modulate%20behavioral%20and%20neurochemical%20biomarkers%20of%20chronic%20stress%20in%20this%20model%20organism.

of course, that is fine.

  1. return to edge , repeat step 1.

7.invoke Hookmark

  1. Copy Link

9. invoke textedit on tmp.txt

  1. paste it in text edit

Desired result

11. pastes:

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8275758/#:~:text=As%20these%20data%20support%20the%20validity%20of%20PCUS%20as%20an%20effective%20tool%20to%20study%20stress%2Drelated%20pathologies%20in%20zebrafish%2C%20further%20research%20is%20needed%20into%20the%20ability%20of%20various%20conventional%20and%20novel%20treatments%20to%20modulate%20behavioral%20and%20neurochemical%20biomarkers%20of%20chronic%20stress%20in%20this%20model%20organism.

Actual results:

same as expected. So we’re good :blush: .

NB

  1. Copy Markdown Link

yields:

[Modulation of behavioral and neurochemical responses of adult zebrafish by fluoxetine, eicosapentaenoic acid and lipopolysaccharide in the prolonged chronic unpredictable stress model - PMC](https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8275758/#:~:text=As%20these%20data%20support%20the%20validity%20of%20PCUS%20as%20an%20effective%20tool%20to%20study%20stress%2Drelated%20pathologies%20in%20zebrafish%2C%20further%20research%20is%20needed%20into%20the%20ability%20of%20various%20conventional%20and%20novel%20treatments%20to%20modulate%20behavioral%20and%20neurochemical%20biomarkers%20of%20chronic%20stress%20in%20this%20model%20organism.)

about hooks

currently Hookmark (normally) yields at most one hook between two pairs of resources. This is for different reasons. Partly it is due to Hookmark’s treatment of “#”. There are also special considerations for PDFs.

I suppose you are asking for multiple pairs of calls to

  1. Hookmark’s Copy Markdown Link on the web resource (with different selections) and
  2. Hook to Copied Link on some other resource (say "foo.txt)

to create multiple hooks from “foo.txt” to different deep locations on the web page?

1 Like

Ooops! I did my test using Hookmark 5, which has not been released publicly yet. (Beta coming.)
In Hookmark 4, Copy Link in Edge with a selection did not yield a deep link.

1 Like

So the short answer is that this is coming in Hookmark 5. Beta will hopefully start next month. The internal build is quite solid already.

I’m just getting started with hookmark and am unfamiliar with some operations. Thank you very much for your guidance; it helped me a lot.

Exciting to hear this news. The software you have developed has helped me a lot in my daily study. Thank you very much.