Spent quite some time looking for a JavaScript library that would allow me to select a part of a web page and send a link to that selection to someone else. I know there are scripts like AnchorJS that allow to deep-link sections and paragraphs, but didn't find any that would allow linking to a specific word, phrase or image.
So failing to find what I need, I wrote my own thing: https://github.com/iafan/LinkToSelection
Can't believe I'm the only one who thought about this — it seems to be super-useful for any documentation pages. Do you know of other implementations?