Make website copy protected

nbaztec

Master KOD3R
A textbox is rendered separately by the browser. You can set it to enabled=false.

Edit: Sorry I was barely awake (and busy with work). Wasn't able to think straight.
Code:
document.onmousedown = document.onselectstart=function(){return false;};   // Kinda hacky but works.
Do note that you cannot disable content inside iframe/frames using this since it leads to an Unsafe Javascript Access
 

nbaztec

Master KOD3R
^That ain't possible, since textinput/textarea etc. are rendered by the browser separately and their work is to let users select (otherwise known as a label).
Hence the hacky way - to disable mousedown to select textbox.
 
Top Bottom