Quantcast
Channel: Active questions tagged javascript - Stack Overflow
Viewing all articles
Browse latest Browse all 138307

Android auto detect URLS

$
0
0

I'm trying to parse and HTML string and display it in a webview. Some HTML though does not have all it's URLs wrapped with an tag. In order to do it we could use Linkify (Is there any way to have WebView auto-link URLs and phone numbers in Android?)

The problem with this solution is that it completely rewrites the HTML structure so a complex HTML email/webpage will no longer look the same after it is parsed with Linkify.

Is there a javascript base solution which would do it after the page is rendered? I'm not really home in Javascript...

Or any other ideas?

Thanks


Viewing all articles
Browse latest Browse all 138307

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>