Can I remove Android default link styling in webview

后端 未结 2 1444
囚心锁ツ
囚心锁ツ 2020-12-08 15:10

When you click a link in the Android browser, the target link area gets highlighted with an orange box by default. A longpress then opens up the context menu for link handl

2条回答
  •  無奈伤痛
    2020-12-08 15:32

    This might be useful: How to Hide Android WebView Highlight Border

    The answer being: add this CSS * { -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }.

    Hopefully it is.

提交回复
热议问题