WebBrowser在加载网页的过程中,如果遇到JavaScript或CSS代码,则会弹出一个黄色的安全警告。可以通过以下方法去除:
<!-- saved from url=(0014)about:internet -->
具体用法如下:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0014)about:internet -->
<html xmlns="http://www.w3.org/1999/xhtml" >
<body>
No Warming!
</body>
<!-- saved from url=(0014)about:internet -->
<html xmlns="http://www.w3.org/1999/xhtml" >
<body>
No Warming!
</body>
</html>