社区
ASP
帖子详情
如何用asp.net 写屏蔽ie打印功能
hhmmss
2003-08-25 10:04:12
如何用asp.net 写屏蔽ie打印功能
提供链接,相关文章就给分
...全文
124
4
打赏
收藏
如何用asp.net 写屏蔽ie打印功能
如何用asp.net 写屏蔽ie打印功能 提供链接,相关文章就给分
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
4 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
hhmmss
2003-08-26
打赏
举报
回复
to : zoze1026(木鱼) 我又不是没搜过,可能我用的关键词不对吧!
要不你给我写个关键词,呵呵
我的方法是网上找不到的东西
或者我没时间去找的时候
才在这里贴的
我看过一个论坛发贴前的告示我觉得写得很好
不知道您看过没有
而且,我是想解决问题来的
我希望我的朋友,给我最有效的路
当然最快捷的就是给我源代码了
当然我也应该学会其中的奥妙呀
lions911
2003-08-25
打赏
举报
回复
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>IE功能汇集</title>
</head>
<body>
<div align="center">
<center>
<table border="1" width="90%" bordercolor="#000000" cellspacing="0" cellpadding="0" bordercolorlight="#000000" bordercolordark="#FFFFFF">
<tr>
<td width="100%">
<OBJECT classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 id=WebBrowser width=0>
</OBJECT>
<input onclick=document.all.WebBrowser.ExecWB(1,1) type=button value=打开 name=Button1>
<input onclick=document.all.WebBrowser.ExecWB(4,1) type=button value=另存为 name=Button2>
<input onclick=document.all.WebBrowser.ExecWB(10,1) type=button value=属性 name=Button3>
<input onclick=document.all.WebBrowser.ExecWB(6,1) type=button value=打印 name=Button>
<input onclick=document.all.WebBrowser.ExecWB(8,1) type=button value=页面设置 name=Button4>
<br/>
<input onclick=window.location.reload() type=button value=刷新 name=refresh>
<input onclick="window.external.ImportExportFavorites(true,'');" type=button value=导入收藏夹 name=Button5>
<input onclick="window.external.ImportExportFavorites(false,'');" type=button value=导出收藏夹 name=Button32>
<input onclick="window.external.AddFavorite(location.href, document.title)" type=button value=加入收藏夹 name=Button22>
<br/>
<input onclick="window.external.ShowBrowserUI('OrganizeFavorites', null)" type=button value=整理收藏夹 name=Submit2>
<input onclick='window.location="view-source:" + window.location.href' type=button value=查看源文件 name=Button7>
<input onclick="window.external.ShowBrowserUI('LanguageDialog', null)" type=button value=语言设置 name=Button6>
<input onclick=history.go(1) type=submit value=前进 name=Submit>
<input onclick=history.go(-1) type=submit value=后退 name=Submit2>
<input type=button value=剪切 onclick=document.execCommand('Cut')>
<input type=button value=拷贝 onclick=document.execCommand('Copy')>
<input type=button value=粘贴 onclick=document.execCommand('Paste')>
<input type=button value=撤消 onclick=document.execCommand('Undo')>
<input type=button value=删除 onclick=document.execCommand('Delete')>
<input type=button value=黑体 onclick=document.execCommand('Bold')>
<input type=button value=斜体 onclick=document.execCommand('Italic')>
<input type=button value=下划线 onclick=document.execCommand('Underline')>
<input type=button value=停止 onclick=document.execCommand('stop')>
<input type=button value=保存 onclick=document.execCommand('SaveAs')>
<input type=button value=另存为 onclick=document.execCommand('Saveas',false,'c:\\test.htm')>
<input type=button value=字体 onclick=document.execCommand('FontName',false,fn)>
<input type=button value=字体大小 onclick=document.execCommand('FontSize',false,fs)>
<input type=button value=刷新 onclick=document.execCommand('refresh',false,0)>
<input type=button value=刷新 onclick=window.location.reload()>
<input type=button value=前进 onclick=history.go(1)>
<input type=button value=后退 onclick=history.go(-1)>
<input type=button value=前进 onclick=history.forward()>
<input type=button value=后退 onclick=history.back()>
<input type=button value=导入收藏夹 onclick=window.external.ImportExportFavorites(true,"http://localhost");>
<input type=button value=导出收藏夹 onclick=window.external.ImportExportFavorites(false,"http://localhost");>
<input type=button value=整理收藏夹 onclick="window.external.ShowBrowserUI('OrganizeFavorites', null)">
<input type=button value=查看源文件 onclick="window.location = 'view-source:'+ window.location.href">
<input type=button value=语言设置 onclick="window.external.ShowBrowserUI('LanguageDialog', null)">
<input type=button value=加入收藏夹 onclick="window.external.AddFavorite('http://fason.nease.net/', 'Fason的小天地')">
<input type=button value=加入到频道 onclick="window.external.addChannel('http://fason.nease.net/')">
<input type=button value=设成主页 onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://fason.nease.net/')">
</td>
</tr>
</table>
</center>
</div>
<p align=right><A href="http://fason.nease.net" style="text-decoration:none">【阿信的小天地】</a></p>
</body>
</html>
lions911
2003-08-25
打赏
举报
回复
script language="Javascript">
//屏蔽鼠标右键、Ctrl+N、Shift+F10、F5刷新、退格键
//屏蔽F1帮助
function window.onhelp()
{
return false
}
function KeyDown()
{
//alert(event.keyCode);
//屏蔽 Alt+ 方向键 ← 屏蔽 Alt+ 方向键 →
if ((window.event.altKey)&&((window.event.keyCode==37)||(window.event.keyCode==39)))
{
//alert("不准你使用ALT+方向键前进或后退网页!");
event.returnValue=false;
}
//屏蔽退格删除键,屏蔽 F5 刷新键,Ctrl + R
if ((event.keyCode==8)||(event.keyCode==116)||(event.ctrlKey && event.keyCode==82))
{
event.keyCode=0;
event.returnValue=false;
}
//屏蔽 Ctrl+n
if ((event.ctrlKey)&&(event.keyCode==78))
{
event.returnValue=false;
}
//屏蔽 shift+F10
if ((event.shiftKey)&&(event.keyCode==121))
{
event.returnValue=false;
}
//屏蔽 shift 加鼠标左键新开一网页
if (window.event.srcElement.tagName == "A" && window.event.shiftKey)
{
window.event.returnValue = false;
}
//屏蔽Alt+F4
if ((window.event.altKey)&&(window.event.keyCode==115))
{
window.showModelessDialog("about:blank","","dialogWidth:1px;dialogheight:1px");
return false;
}
//屏蔽Ctrl+A
if((event.ctrlKey)&&(event.keyCode==65))
{
return false;
}
if(event.keyCode==13)
{
document.form1.btnLogin.focus();
}
}
</script>
zoze1026
2003-08-25
打赏
举报
回复
呵呵,你还不如直接去 google.com 搜索一下,多的是。
asp.net
知识库
在
ASP.NET
页面中推荐使用覆
写
(Override)而不是事件处理(Event Handler) 常用编码工具类,支持base64,md5,des,crc32 也谈谈技术面试 在C#里把ArrayList转换为Array 或 把Array转换为ArrayList C# 2.0 在.NET 2.0中...
Asp.Net
基于Ajax的无刷新聊天室
Asp.Net
基于Ajax的无刷新聊天室,可以带来以下两点好处: ·页面实时更新,无需完全刷新页面; ·聊天内容更新时,只需要读取最新的聊天信息,做到“按需取数据”。 本项目将会实现以个基于Ajax的无刷新聊天室,其...
ASP.NET
Core 基础 部署至Linux
该课程是胡延亮老师完成了相关《
ASP.NET
MVC》课程后,一套全新的课程,该课程围绕微软**的
ASP.NET
Core 开源和跨平台技术展开讲解,主要为从
ASP.NET
开发向
ASP.NET
Core跨平台开发提供帮助。本课程主要围绕
ASP.NET
...
asp.net
锁屏ActiveX
asp.net
屏蔽
键盘操作
屏蔽
任务管理器 ,可以兼容 32位 64位操作系统,兼容 IE6 IE7 IE8
庖丁解牛:纵向切入
ASP.NET
3.5控件和组件开发技术
第1章 服务器控件概述及开发环境部署 .1 1.1 自定义服务器控件 1 1.2 服务器控件在软件开发过程中的作用 1 ...附录a .net 3.5技术教程系列——collection/
asp.net
ajax/ silverlight/jquery ...646
ASP
28,390
社区成员
357,068
社区内容
发帖
与我相关
我的任务
ASP
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
复制链接
扫一扫
分享
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章