Posted by DrCharbonneau on November 20, 2012 at 3:09am
I've been searching the modules for an add-on that blocks the user from hilighting text in site content to c&p with the clipboard. Does anyone know how to do this or know of a D7 module that has this protection?
Comments
=-=
Id' research javascript/jquery to do this. you will likely need a custom module. IMO it's more work than its work as one could view source then copy and paste the text. or disable javascript and then cut and paste.
Step ahead of you, VM...
maximus@nsimail.com) w/ mods by DynamicDrive
//For full source code, visit http://www.dynamicdrive.com
var message="Function Disabled!";
///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}
function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}
if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}
document.oncontextmenu=new Function("alert(message);return false")
// -->
I found this. Other than "basically useless" what think ye?
I am essentially wanting to protect that book I've been writing I mentioned on the "Ethics" thread. I would tend to think the average person who is simply an author would not be writing HTML script. I would tend to think the average HTML thief would not be interested in stealing a sci-fi novel. Naturally, come "buy button" time, I'll have copyrighted at the USPatent Office the entire set of works (It's 3 books and I'll likely change the final title), still in the meantime, while I solicit review, a little embedded protection would be a benefit.
http://www.tempathy.net/
Time to feel with the rest of humanity and the planet
E=MC^2 is only a law where light exists... F=MA is universal even to the Higgs Field