Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
pests
2y ago
0 comments
Share
Quick aside: I know Chrome has supported the link-to-highlight for years now, but does anyone know where the "#:~:text=" hash format is documented at? Searching for that is really hard.
0 comments
default
newest
oldest
wglb
2y ago
Here is a reference I found:
https://chromestatus.com/feature/4733392803332096
It appears that it currently chrome only.
thaliaarchi
2y ago
https://developer.mozilla.org/en-US/docs/Web/Text_fragments
pests
OP
2y ago
Thanks! This was my main curiosity: "[fragments] are stripped from the URL during loading so that author scripts cannot directly interact with them"
j
/
k
navigate · click thread line to collapse