Hacker News new | ask | show | jobs
by westurner 603 days ago
Is there a specified / supported way to include other parameters in the URI fragment if the fragment part of the URI starts with :~:text=?

  https://example.com/page.html#:~:text=[prefix-,]textStart[,textEnd][,-suffix]
  https://example.com/page.html#:~:text=...
  https://example.com/page.html#:~:text=...&param2=two&:~:param3=three
w3c/web-annotation#442: "Selector JSON to IRI/URI Mapping: supporting compound fragments so that SPAs work" (2019): https://github.com/w3c/web-annotation/issues/442

WICG/scroll-to-text-fragment#4: "Integration with W3C Web Annotations" (2019): https://github.com/WICG/scroll-to-text-fragment/issues/4#iss...