Sep
05 2008
This post is to teaching a simple way on how to disable the select on the mozilla firefox. As I know, if you want to disable select in the Internet Explorer(IE), you may using the javascript onselect event to return a “FALSE”. This method will be only work for IE but not Firefox.
Below is the method on how to disable user to select your website content.
<body style="user-select: none; -khtml-user-select: none; -moz-user-select: none;">
Insert the style inside the body tag inside your HTML will be solving your problem.
Cheer~~!















April 24th, 2009 at 1:49 pm
this is very good kind of information
June 16th, 2009 at 10:04 pm
This information was very helpful! Thank you very much!
July 31st, 2009 at 1:09 am
This is THE script where I so long was looking for !!
September 8th, 2009 at 6:12 pm
yes thats a boom man.My desire has complete now thanks
September 12th, 2009 at 2:42 am
Hi man. The only problem is that all of the elements became unselectable, even the textboxes.
September 22nd, 2009 at 12:05 pm
And, they can still do Edit -> Select All, then Edit -> Copy.
I would look forward to a way where this was not possible either.
October 8th, 2009 at 4:43 pm
good budy. keep it up. it works nicely.
October 22nd, 2009 at 6:54 pm
Thanks so much!! this has worked