Changing the color of the Android webcam will highlight the color of the link

I need to change the default selection color of a link in an Android web browser. Going through a few stack overflow questions didn't help me. Below is a question answer, how to remove it. I want to just change the color from orange to, for example, red. Android GREEN browser on click

Can someone help me?

+4
source share
2 answers

If you are not opposed to jQuery (I never do this), first add this:

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

Then use the touchstart or touchend as follows:

 $("li").bind('touchstart', function(){ $(this).css("border","1px solid green"); setTimeout("$('li').css('border','none')",1500); }); 
+2
source

You cannot change it in WebView. However, you can read the data as a string, replace all tags with (lt) font color = "# 0000FF" (gt) (lt) a (and change the / tags accordingly), and then load the string into WebView using webView.loadData ( line of line ..).

+1
source

All Articles