Skip to content Skip to sidebar Skip to footer

Can I Remove Android Default Link Styling In Webview

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 handling (co

Solution 1:

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.

Solution 2:

The suggested solution sets the color as transparent black:

* {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

Simply specifying the color as transparent should work:

* {
  -webkit-tap-highlight-color: transparent;
}

Post a Comment for "Can I Remove Android Default Link Styling In Webview"