Note. This question is for Android (i.e. methods using Flash do not seem to be applicable for Android).
Can I use Javascript to select all WebView content?
Also note that I ask only "select", it is not necessary to copy to the clipboard.
If your method performs both selection and copying, this is also good, but it is not necessary. All I need now is a way to select all the contents of the WebView (as if I'm going to copy it) using Javascript.
If possible, can you post a sample Javascript code that does this?
source
share