document.all.WebBrowser.ExecWB(1,1) 打开 Web.ExecWB(2,1) 关闭现在所有的IE窗口,并打开一个新窗口 Web.ExecWB(4,1) 保存网页 Web.ExecWB(6,1) 打印 Web.ExecWB(7,1) 打印预览 Web.ExecWB(8,1) 打印页面设置 Web.ExecWB(10,1) 查看页面属性 Web.ExecWB(15,1) 好像是撤销,有待确认 Web.ExecWB(17,1) 全选 Web.ExecWB(22,1) 刷新 Web.ExecWB(45,1) 关闭窗体无提示
透明背景 <IFRAME src="1.htm" width=300 height=180 allowtransparency></iframe> 上一网页源 asp: request.servervariables("HTTP_REFERER") javascript: document.referrer 释放内存 CollectGarbage();
禁止右键
document.oncontextmenu = function() { return false;}
禁止保存
<noscript><iframe src="*.htm"></iframe></noscript>
禁止选取
<body oncontextmenu="return false" ondragstart="return false" onselectstart ="return false" onselect="document.selection.empty()" oncopy="document.selection.empty()" onbeforecopy="return false"onmouseup="document.selection.empty()>
禁止粘贴 <input type=text onpaste="return false"> 无关闭按钮IE window.open("aa.htm", "meizz", "fullscreen=7"); open(URL,WindowName,parameterList):open方法创建一个新的浏览器窗口,并在新窗口中载入一个指定的URL地址。 close():close方法关闭一个浏览器窗口. alert(text):弹出一个信息框. confirm(text):弹出一个确认框. prompt(text,Defaulttext):弹出一个提示框. setTimeout(expression,time):定时设置,在一定时间后自动执行expression描述的代码,使用time设置时间,单位是毫秒. clearTimeout(timer):取消以前的定时设置. back():指示浏览器载入历史记录中的上一个URL地址. forward():指示浏览器载入历史记录中的下一个URL地址. stop():指示浏览器停止网页的装载. location:提供当前窗口的URL信息
|