解除禁止操作
可以ctrl+p打開打印,然后就可以在彈出的窗口愉快的復(fù)制了折柠,
沒有禁止f12可以直接按f12宾娜,如果被限制就按ctrl+shift+i打開,或?yàn)g覽器菜單開發(fā)者工具
進(jìn)入開發(fā)者工具點(diǎn)擊控制臺(tái)扇售,輸入以下內(nèi)容
// 開啟右鍵菜單
document.oncontextmenu = function(){ return true; };
// 開啟文字選擇
document.onselectstart = function(){ return true; };
// 開啟復(fù)制
document.oncopy = function(){ return true; };
// 開啟剪切
document.oncut = function(){ return true; };
// 開啟粘貼
document.onpaste = function(){ return true; };
// 開啟F12鍵
document.onkeydown = function () {
? ? if (window.event && window.event.keyCode == 123) {
? ? ? ? event.keyCode = 0;
? ? ? ? event.returnValue = true;
? ? ? ? return true;
? ? }
};