0

Note: This is Android-specific question (i.e. methods using Flash seem not to be applicable for Android).

Is it possible to use Javascript to select all WebView content?

Also note that I am asking about "select" only, not necessarily copy to clipboard.

If your method happens to do both select & copy, that is good, too, but it's not mandatory. All I need right now is a way to select all WebView content (as if I am about to copy it), using Javascript.

If this is possible, can you post sample Javascript code that does this?

1 Answer 1

1

Here is an example that might help Extracting HTML from a WebView

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.