摘要: 上课时间加上敲代码时间:200分钟 学习记录:学习activity的生命周期 代码量:20行 博客数:1 阅读全文
posted @ 2024-03-14 22:34 许七安gyg 阅读(8) 评论(0) 推荐(0) 编辑
$(document).ready(function() { // 禁止右键 $(document).bind("contextmenu", function(){return false;}); // 禁止选择 $(document).bind("selectstart", function(){return false;}); // 禁止Ctrl+C 和Ctrl+A $(document).keydown(function(event) { if ((event.ctrlKey&&event.which==67) || (event.ctrlKey&&event.which==86)) { //alert("对不起,版权所有,禁止复制"); return false; } }); });