RSS
people

Disable select in Mozilla Firefox

Share/Save/Bookmark

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~~!

8 Responses to “Disable select in Mozilla Firefox”

  1. Prashant Deshmukh Says:

    this is very good kind of information

  2. Leo Says:

    This information was very helpful! Thank you very much!

  3. mark Says:

    This is THE script where I so long was looking for !! :-)

  4. css gallery ajax Says:

    yes thats a boom man.My desire has complete now thanks

  5. rcdmk Says:

    Hi man. The only problem is that all of the elements became unselectable, even the textboxes.

  6. Jan Says:

    And, they can still do Edit -> Select All, then Edit -> Copy.

    I would look forward to a way where this was not possible either.

  7. Mangesh5588 Says:

    good budy. keep it up. it works nicely.

  8. DIVI Says:

    Thanks so much!! this has worked

Leave a Reply