Recently, I noticed that sometimes when I search on Google, Google can highlight the relevant part of the webpage by attaching a hash fragment like this:
https://example.com/#:~:text=You%20may%20use%20this%20domain%20in%20literature%20without%20prior%20coordination%20or%20asking%20for%20permission.
And it will scroll to "You may use this domain in literature without prior coordination or asking for permission." and highlight it.
I wonder what kind of magic is this, is it part of any RFC or Web standard, or maybe it's Google Chrome that I'm using? Or is it some kind of JavaScript patch injected/provided by Google?