Created
September 23, 2013 16:29
-
-
Save cliftonlabrum/6673157 to your computer and use it in GitHub Desktop.
When you click on part of a webView that is either a link or otherwise made clickable with JS, the clickable area turns gray (touch any link in Safari on your iPhone to see this). I didn't want this to happen because I want my webView to behave like it's a native component. This will turn it off.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
document.documentElement.style.webkitTapHighlightColor = "rgba(0,0,0,0)"; | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment