Disabling Both Mouse Buttons

Visit Disabling Both Mouse Buttons

A useful technique for display only pages, as well as protecting your underlying source code. You want to use this technique with caution and forethought, of course, since it effectively disables any mouse action on the page. The technique is most useful in display-only pop ups, as shown in this demo. Note that this technique only works in Microsoft Internet Explorer, Netscape completely ignores it.

  • Cost: Free

Resource Specification

Category:

JavaScript : Scripts and Programs : Alerts and Prompts

Title / Program Name:

Disabling Both Mouse Buttons

URL:

http://codebrain.com/javascript/noClick/

Cost:

Free

Author:

etLux

Keywords:

disable mouse buttons, block mouse buttons, no mouse buttons, no left click, no right cilck, disable mouse clicks

Summary:

Prevents users from left or right clicking on your site and displays alert

Ratings Breakdown

Number of Votes:

5

Resource Rating:

6.20

Highest Rating:

10

Lowest Rating:

1

Bar Graph Chart
RatingVote %# of Votes
1020%1
90%0
80%0
740%2
620%1
50%0
40%0
30%0
20%0
120%1

Want to increase the number of votes and resource rating for this listing?

Place a Disabling Both Mouse Buttons Vote Box on your website.