firefox(火狐)和ie浏览器禁止右键和禁止复制的代码
作者:bea
<html> <title></title> <script type="text/javascript"> <!-- document.oncontextmenu=function(e){return false;} // --></script> <style><!-- body { -moz-user-select:none; } --></style> <
<html>
<title></title>
<script type="text/javascript">
<!--
document.oncontextmenu=function(e){return false;}
// --></script>
<style><!--
body {
-moz-user-select:none;
}
--></style>
<body onselectstart="return false">
<B></b>
是一个专业的收集各类脚本学习资料的网站,尽量修正错误打造精品脚本类学习网站,我们为大家游戏脚本资源,源码,软件,asp,php,javascript等编程资料,是网页制作,网络编程,网站建设人士的聚集场所。
</body>
</html>
[Ctrl+A 全选 注:
如需引入外部Js需刷新才能执行]
有用 | 无用
猜你喜欢
您可能感兴趣的文章:
- Mootools 1.2教程 输入过滤第一部分(数字)
- Mootools 1.2教程 设置和获取样式表属性
- 通过Mootools 1.2来操纵HTML DOM元素
- Mootools 1.2教程 事件处理
- Mootools 1.2教程 函数
- Mootools 1.2教程(3) 数组使用简介
- Mootools 1.2教程(2) DOM选择器
- MooTools 1.2介绍
- IE与Firefox在JavaScript上的7个不同写法小结
- JavaScript 中级笔记 第五章 面向对象的基础
- JavaScript 中级笔记 第四章 闭包
- JavaScript 中级笔记 第三章
- JavaScript 中级笔记 第二章
- JavaScript 中级笔记 第一章
- JavaScript 函数调用规则
- javascript 数组操作实用技巧
- 用JS写的简单的计算器实现代码
- prototype与jquery下Ajax实现的差别
- JS 参数传递的实际应用代码分析