Gibt es irgendeine Möglichkeit dass ich "markierten Text" für andere Anwendungen vortäusche, ohne dass eigentlich irgendetwas markiert wurde ???
Schau dir mal CopyLink an, das macht etwas ähnliches.
http://molily.de/weblog/selectionmenu-copylink
https://github.com/molily/selectionmenu/blob/master/copylink.js
Mathias