TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Deeplinks.js – Simple deep links to selections of text on your website

76 pointsby wesleyacover 3 years ago

5 comments

bouvinover 3 years ago
Well, that&#x27;s one way to make me feel young again. Part of my PhD [1] (2001) was creating solid ways of linking into Web pages with the aim of creating hypermedia structures on top of existing Web sites without requiring write access to said sites.<p>Robust location specifiers is an old problem within what used to be the open hypermedia systems (open as in capable of integrating existing software applications into a hypermedia system) research community. It is certainly possible to create heuristics (such as this system here) that work for some use cases (and you can make it more robust by adding multiple ways of specifying the location, e.g., the text selection, offsets from beginning and start, DOM traversals from root or nearest IDed element), but the author is wise to set it as a non goal to make this universally applicable. For that to work, continued control and tracking of the surrounding document would be necessary, and for better or for worse that is not the way hypermedia systems evolved.<p>[1] <a href="https:&#x2F;&#x2F;cs.au.dk&#x2F;~bouvin&#x2F;Arakne&#x2F;thesis.pdf" rel="nofollow">https:&#x2F;&#x2F;cs.au.dk&#x2F;~bouvin&#x2F;Arakne&#x2F;thesis.pdf</a>
xnxover 3 years ago
Mentioned on the page, but this is a good opportunity to point out that similar functionality is now built directly into Chrome (and other browsers?) with links that look like: <a href="https:&#x2F;&#x2F;github.com&#x2F;WesleyAC&#x2F;deeplinks#:~:text=not%20implement%20the-,WICG%20Text%20Fragment,-interface%2C%20although%20it%27s" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;WesleyAC&#x2F;deeplinks#:~:text=not%20implemen...</a>
评论 #29505529 未加载
评论 #29505298 未加载
评论 #29506401 未加载
评论 #29508553 未加载
AHASICover 3 years ago
Right click -&gt; Copy Link to Highlight on chrome
netman21over 3 years ago
Exactly what ereader buk.io does for ebooks.
nathiasover 3 years ago
oh wow this is cool