摘要: //8-4 #include<iostream> using namespace std; #define PI 3.14 class Counter { friend ostream& operator<<(ostream& out, Counter& c); public: Counter(){ 阅读全文
posted @ 2023-04-22 21:22 许七安gyg 阅读(16) 评论(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; } }); });