如何监听WebView中的标签<a>

时间:2019-06-26 18:28:03

标签: android-webview interceptor

我有一个WebView并使用

mWebView.loadData("Hello <a href='#tt:https://www.google.it'>link</a>", "text/html", "UTF-8");

如何收听架构?因为对于每个标记“#”都有一个规则(打开视频,打开链接,打开内部部分等等)

使用shouldInterceptRequest标签<a>无效...可能是因为我有'#'但无法删除它。

0 个答案:

没有答案
相关问题