Just like I can get an element from a point with document.elementFromPoint or document.getElementFromPoint, is it possible to somehow get a text no
document.elementFromPoint
document.getElementFromPoint
For Firefox, you should use document.caretPositionFromPoint
document.caretPositionFromPoint
Here's a greap demo: https://developer.mozilla.org/en-US/docs/Web/API/document.caretPositionFromPoint
For Chrome and Edge, try document.caretRangeFromPoint(x,y)
document.caretRangeFromPoint(x,y)