xxjenjxx
04-04-2003, 09:01 PM
whats the code to stop people from highlighting and control-v-ing your site? i dont mean the right click one
please help
jen
-x-
please help
jen
-x-
|
View Full Version : prevent text highlighting xxjenjxx 04-04-2003, 09:01 PM whats the code to stop people from highlighting and control-v-ing your site? i dont mean the right click one please help jen -x- lefty 04-04-2003, 09:16 PM I know this has been asked before, and as far as I can remember it isn't possible. xxjenjxx 04-04-2003, 09:23 PM im sure i saw a tutorial somewhere this (http://kelly.charm-bracelet.org) site wont let u highlight lefty 04-04-2003, 09:36 PM Hmm I guess I'm wrong. :P Maybe it was the ctrl-v thing I was thinking about. I'll poke through dynamic drive (http://www.dynamicdrive.com) to see if I can find something, I guess it is possible! edit: actually, if you triple-click the paragraph on that page it does highlight. But I'll take a look around anyway :) Xiphias 04-04-2003, 10:13 PM Ctrl + A also highlights the page's text as well as images and the whole pina colada co0kied0ugh 04-05-2003, 05:52 AM <script language="JavaScript1.2"> //Disable select-text script (IE4+, NS6+)- By Andy Scott //Exclusive permission granted to Dynamic Drive to feature script //Visit http://www.dynamicdrive.com for this script function disableselect(e){ return false } function reEnable(){ return true } //if IE4+ document.onselectstart=new Function ("return false") //if NS6 if (window.sidebar){ document.onmousedown=disableselect document.onclick=reEnable } </script> xxjenjxx 04-05-2003, 09:19 AM thanks! |