Disable select in Mozilla Firefox
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~~!
10 Comments to “Disable select in Mozilla Firefox”
Leave a Reply
this is very good kind of information
This information was very helpful! Thank you very much!
This is THE script where I so long was looking for !! 🙂
yes thats a boom man.My desire has complete now thanks
Hi man. The only problem is that all of the elements became unselectable, even the textboxes.
And, they can still do Edit -> Select All, then Edit -> Copy.
I would look forward to a way where this was not possible either.
good budy. keep it up. it works nicely.
Thanks so much!! this has worked
Thanks so much for the tip 😡 keep doing your great work ,#
Thank you thank you!!