Here are a few ways to remove it: Add the link directly onfocus="this.blur()". <a href="#" onfocus="this.blur()">Link</a> CSS Implementation Copy code The code is as follows:a{blr:expression(this.onFocus=this.close());} /* Only supports IE, too much use will result in low efficiency*/ a{blr:expression(this.onFocus=this.blur());} /* Only supports IE, too much use will result in low efficiency*/ a:focus { -moz-outline-style: none; } /* IE does not support */ htc implements IE support Copy code The code is as follows:<public:attach event="onfocus" onevent="hscfsy()"/> <script language="javascript"> function hscfsy(){ this.blur(); } </script> Call a {behavior:url(the path address of the htc file)} Implemented through JavaScript traversal Copy code The code is as follows:window.onload = function() { for(var ii=0; ii document.links$[$ii$]$.onfocus=function(){this.blur()} } 5. For WordPress, you can use the internal JQuery framework to remove Copy code The code is as follows:$("a").bind("focus",function(){ if(this.blur){ //If this.blur is supported this.blur(); } }); |
<<: Two ways to manage volumes in Docker
background Not long ago, I made a function about ...
If you want to adjust the size and number of Inno...
Many people may ask, does the text on the website...
Table of contents Preface Summary of audio and vi...
Preface If you are going to interview for a Linux...
Asynchronous replication MySQL replication is asy...
1. Usage: (1) EXISTS usage select a.batchName,a.p...
1. Window -> preferences to open the eclipse p...
Table of contents Where are the logs stored? View...
Table of contents join algorithm The difference b...
About Nginx, a high-performance, lightweight web ...
CentOS 6 and earlier versions provide MySQL serve...
background The Agile model is widely used, and te...
In the previous article https://www.jb51.net/arti...
This article shares the manual installation tutor...