禁止IE弹出activeX安全对话框的方法

在html文档的头部(据说Head中也可以)增加<!-- saved from url=(0014)about:internet -->。例如:

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<!-- saved from url=(0014)about:internet -->
<html>
 <head>
  <title> New Document </title>
  <meta name="Generator" content="EditPlus">
  <meta name="Author" content="">
  <meta name="Keywords" content="">
  <meta name="Description" content="">
 </head>

 <body style="overflow:hidden;margin:0px;padding:0px;border:0px;">
  <table><tr><td>
   <object id="videoControl"  width=234 height=60 classid="clsid:26322E75-4D24-4CC2-A1AB-FAD4B6F51754">
    <SPAN STYLE="color:red">ActiveX 控件装入失败!
     <br/>-- 请检查浏览器的安全设置。
    </SPAN>
   </object>
  </td></tr></table>
 </body>
</html>

 

你可能感兴趣的:(html,浏览器,IE)