惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
V
Vulnerabilities – Threatpost
有赞技术团队
有赞技术团队
小众软件
小众软件
O
OpenAI News
C
Cyber Attacks, Cyber Crime and Cyber Security
I
Intezer
NISL@THU
NISL@THU
D
Darknet – Hacking Tools, Hacker News & Cyber Security
N
News and Events Feed by Topic
MongoDB | Blog
MongoDB | Blog
阮一峰的网络日志
阮一峰的网络日志
Hacker News: Ask HN
Hacker News: Ask HN
D
Docker
WordPress大学
WordPress大学
Security Archives - TechRepublic
Security Archives - TechRepublic
A
About on SuperTechFans
Stack Overflow Blog
Stack Overflow Blog
C
CERT Recently Published Vulnerability Notes
L
LINUX DO - 最新话题
Application and Cybersecurity Blog
Application and Cybersecurity Blog
M
MIT News - Artificial intelligence
Blog — PlanetScale
Blog — PlanetScale
S
Security @ Cisco Blogs
Cloudbric
Cloudbric
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
V
V2EX
Hacker News - Newest:
Hacker News - Newest: "LLM"
G
Google Developers Blog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
W
WeLiveSecurity
Google DeepMind News
Google DeepMind News
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
H
Hackread – Cybersecurity News, Data Breaches, AI and More
G
GRAHAM CLULEY
S
Schneier on Security
T
Tor Project blog
Spread Privacy
Spread Privacy
PCI Perspectives
PCI Perspectives
Microsoft Security Blog
Microsoft Security Blog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
F
Fortinet All Blogs
L
Lohrmann on Cybersecurity
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
T
The Exploit Database - CXSecurity.com
TaoSecurity Blog
TaoSecurity Blog
Apple Machine Learning Research
Apple Machine Learning Research
T
Threat Research - Cisco Blogs
T
Troy Hunt's Blog
罗磊的独立博客

博客园 - EasyWriter

回顾工作这五六年来,该总结下得与失了 Log4Net 开发文档 面向对象的开发方法(Object Oriented,OO) 基于Lucene.net开源搜索 浅谈 数据库连接池〔翻译〕 海量数据的查询 海量数据库的查询优化及分页算法方案(转载) 把SQL SERVER里表里的数据导出成为insert into 脚本 静态(Static)方法 如何在子线程中操作窗体上的控件 .NET性能优化方面的总结 FCKeditor 2.2 + Asp.Net 设置 Asp.net直接保存文件到客户端 系统流程图简介 得到页面body区域内容的高度 面向对象设计原则 常用的正则表达式集锦 深入理解abstract class和interface 如何最大限度提高.NET的性能
转载“internet explorer 无法打开 interne 站点 已终止操作”错误的问题解决
EasyWriter · 2008-06-17 · via 博客园 - EasyWriter

打开网页时,提示“internet explore 无法打开internet站点...,已终止操作”,
曾以为是application 的原因,百思不得其解
今天晚上找遍了google、baidu、sogou,还是一无所获
看原页面代码,查找是否 DIV 没有结束,又不是。最后只能判断是JS 的问题了。
不错,正是js引发的错误。
由于页面中用到了下拉条,而且,微软把 select 的属性值设得太高了,层是没办法把他遮挡住的。只能用错就错在 <iframe 这里了,页面还没完成,就跑 <iframe ,<iframe 还没引发完成就跳转,导致游览器中断,所以就出现了 “internet explore 无法打开internet站点...,已终止操作”,
如下就是网页中用到的js,
function openShim(menu,menuItem)
{
   if (menu==null) return;
    var shim = getShim(menu);
    if (shim==null) shim = createMenuShim(menu,getShimId(menu));
----------------------------------------------------------------------------------------
只要稍微修改为以下就可以了
function openShim(menu,menuItem)
{
if (document.readyState!="complete") return ;  
  if (menu==null) return;
    var shim = getShim(menu);
    if (shim==null) shim = createMenuShim(menu,getShimId(menu));
。。。。
即加上一个载入判断就可以了。 if (document.readyState!="complete") return ;
“internet explore 无法打开internet站点...,已终止操作”,从此消失
另:遮掩 select 的方法还可以用如下:
var allselect = document.getElementsByTagName("select");
for (var i=0; i {
  allselect[i].style.visibility = "none";
}
或者用window.onload=function(){}
也是可以的

文章来源:

http://www.cnblogs.com/xin478/archive/2007/07/27/833129.html