javascript - Getting the text under the mouse pointer -


I am writing a browser add-on and want to get the word / word that the user currently does via Javascript Hovering from

There is no good general purpose function to do this. If you specify which browser you are adding, then a specific solution could be that while facing this problem in the past, I had to request the user to double click the word (again you double-click, get the selection , And can reset it).


Comments

Popular posts from this blog

.net - C# List<T>.Find(x=>x.Rectangle.Contains(Point)) FAIL -

iphone - Smoothing a rounded stroke in Core Graphics -

c++ - QtQuick: QQmlApplicationEngine failed to load component qrc:/main.qml:23 Invalid attached object assignment -