NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name Remove Copy Protection // @description Enable text selection and copy! // @include http://* // @include https://* // @match http://* // @match https://* // @run-at document-end // @grant none // @version 0.5.003 // @homepage https://openuserjs.org/scripts/qq3391/Remove_Copy_Protection // @updateURL https://openuserjs.org/meta/qq3391/Remove_Copy_Protection.meta.js // ==/UserScript== // Enable in Tistory document.oncontextmenu = new Function ('return true'); document.ondragstart = new Function ('return true'); document.onselectstart = new Function ('return true'); // Enable in NAVER Cafe /* Original Script function initRead(id){ document.getElementById(id).oncontextmenu = new Function("return false"); document.getElementById(id).onselectstart = new Function("return false"); document.getElementById(id).ondragstart = new Function("return false"); } function toggleBlockDragInFF(bEnable){ if(bEnable) cancelBlockDragInFF(); else blockDragInFF(); } function blockMouseRight() { document.oncontextmenu = document.onselectstart = document.ondragstart = function(event) { var e = event || window.event, el = e.target || e.srcElement, sTagName = el.tagName || ""; return /(?:textarea|input)/i.test(sTagName); }; if(window.document.body) window.document.body.style.MozUserSelect ='none'; } function blockDragInFF(){ if(window.document.body) window.document.body.style.MozUserSelect ='none'; } function cancelBlockDragInFF(){ if(window.document.body) window.document.body.style.MozUserSelect ='text'; } */ document.getElementById(id).oncontextmenu = new Function("return true"); document.getElementById(id).onselectstart = new Function("return true"); document.getElementById(id).ondragstart = new Function("return true"); function unblockMouseRight() { document.oncontextmenu = document.onselectstart = document.ondragstart = function(event) { var e = event || window.event, el = e.target || e.srcElement, sTagName = el.tagName || ""; return /(?:textarea|input)/i.test(sTagName); }; if(window.document.body) window.document.body.style.MozUserSelect ='text'; } function noBlockDragInFF(){ if(window.document.body) window.document.body.style.MozUserSelect ='text'; }