View Full Version : Turning off cut and paste

10-29-2004, 06:23 PM
I can't turn off the cut and past popup menu using onSelectStart. I've tried everything:

onSelectStart = return false;

document.onselectstart = new Function ("return false;");

<body onselectstart = "return false;" >

Am I missing something? This has worked on previous projects. My dev machine is XP Pro, sp2.

Any help would be greatly appreciated as I have to turn off cutting and pasting on a particular page.

10-30-2004, 03:25 AM
I use both of these and it seems to work on my site:

<html onselectstart="return false" onselect="return false">

Roy Sinclair
11-01-2004, 09:05 PM
Have you checked the XP SP2 documentation to see if disabling those items is among the things websites are no longer allowed to do?

11-03-2004, 02:29 AM
Iím on XP,SP2 and it doesnít work just fine.

Uh, it works... by not doing anything... not selecting.