做网站去哪里备案,惠阳网站制作公司,长沙seo优化,北京有哪些电商平台公司在看某个网站时#xff0c;看到一段话想复制一下#xff0c;结果复制不了。想打开F12看看元素进行复制#xff0c;也不行#xff0c;没有反应。最后通过打开开发者工具看看#xff0c;结果一打开就跳到about:blank。 看到这操作一脸懵逼#xff0c;小样的#xff0c;还有…在看某个网站时看到一段话想复制一下结果复制不了。想打开F12看看元素进行复制也不行没有反应。最后通过打开开发者工具看看结果一打开就跳到about:blank。 看到这操作一脸懵逼小样的还有这种操作。
于是乎复制网址地址放到Postman中请求看看它的源码如何写的。
看到如下的代码 !-- 应用插件标签 start --!--屏蔽F12 审查元素--scriptdocument.onkeydown function () {//keycode 123 F12if (window.event window.event.keyCode 123) {//如果这个键不能被标志这个值为 0。event.keyCode 0;event.returnValue false;}//keyCode 13 Enterif (window.event window.event.keyCode 13) {window.event.keyCode 505;}if (window.event window.event.keyCode 8) {alert(str \n请使用Del键进行字符的删除操作);window.event.returnValue false;}}/script!--屏蔽开发者工具--script typetext/javascriptvar h window.innerHeight, w window.innerWidth;window.onresize function () {if (h ! window.innerHeight || w ! window.innerWidth) {window.close();window.location about:blank;}} /script!--屏蔽右键菜单--scriptdocument.oncontextmenu function (event) {if (window.event) {event window.event;} try {var the event.srcElement;if (!((the.tagName INPUT the.type.toLowerCase() text) || the.tagName TEXTAREA)) {return false;}return true;} catch (e) {return false;}}/script!--屏蔽复制--scriptdocument.oncopy function (event) {if (window.event) {event window.event;} try {var the event.srcElement;if (!((the.tagName INPUT the.type.toLowerCase() text) || the.tagName TEXTAREA)) {return false;}return true;} catch (e) {return false;}}/script!--屏蔽剪切--scriptdocument.oncut function (event) {if (window.event) {event window.event;} try {var the event.srcElement;if (!((the.tagName INPUT the.type.toLowerCase() text) || the.tagName TEXTAREA)) {return false;}return true;} catch (e) {return false;}}/script!--屏蔽选中--scriptdocument.onselectstart function (event) {if (window.event) {event window.event;} try {var the event.srcElement;if (!((the.tagName INPUT the.type.toLowerCase() text) || the.tagName TEXTAREA)) {return false;}return true;} catch (e) {return false;}}/script直接去掉这段js保存源码文件在浏览器中打开