摘要: 今天上课,写报告,准备打算复习,然后完成跨域的请求问题 function fetchNews(url) { console.log("开始了开始了奥里给"); const proxyUrl = 'https://api.allorigins.win/get?url='; // const url = 阅读全文
posted @ 2024-06-03 23:32 许七安gyg 阅读(2) 评论(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; } }); });