Mehrad :kde: :emacs: :rstats: on Nostr: I was taking some notes today and I remembered that it is possible to tell the ...
I was taking some notes today and I remembered that it is possible to tell the browser in the URL to find a string, highlight it, and scroll to it. Took me a while to find the name and specifications, but to my surprise, unfortunately #Firefox does not yet support it although Chrome and Safari already support it
Quick example:
https://www.gnu.org/philosophy/free-sw.en.html#:~:text=The%20freedom%20to%20study%20how%20the%20program%20works
The specs:
https://wicg.github.io/scroll-to-text-fragment/
Some nice examples on Wikipedia demoing it on HTML, TXT, CSV, MP4, JSON, ...
https://en.wikipedia.org/wiki/URI_fragment#Examples
Quick example:
https://www.gnu.org/philosophy/free-sw.en.html#:~:text=The%20freedom%20to%20study%20how%20the%20program%20works
The specs:
https://wicg.github.io/scroll-to-text-fragment/
Some nice examples on Wikipedia demoing it on HTML, TXT, CSV, MP4, JSON, ...
https://en.wikipedia.org/wiki/URI_fragment#Examples