Script To Disable The Right-Click
Page 1 of 1
Script To Disable The Right-Click
Script To Disable The Right-Click |
Script To Disable The Right-Click On An HTML Page This tutorial will help you disable the right click of the mouse on your html pages. There are many codes that can help you with this,but am going to give you one script code that will make this possible. This script code will allow you to disable the right mouse click by adding it between your body tags ~ <body></body>. And will also display a pop-up message.
Example of this code on my forum ~ Click Here You can modify the code {the bold part below} if you'd like to change the message that will appear in the pop-up box.
Also,there is another code you can use if you don't want the pop-up box.
Add the attribute above ( oncontextmenu="return false" ) in the first body tag and it will silently disable right clicks from your mouse. Script To Disable Right Click On Your Forum Go to your administration panel=>General Tab=>Forum=>Configuration=>General=>Site description=>Add this code
You can modify the message you receive when someone right clicks by editing the code's text that says : Text Here If you would like no pop-up version,you can add this code instead.
|
This tutorial was written by Master Marc. |
Master Marc- Hyperactive
- Posts : 3661
Reputation : 47
Language : English and Spanish.
Similar topics
» Disable Right Click
» Disable Right Click
» Disable right click for images only
» little help in that code disable the right click
» How to disable right click save option?
» Disable Right Click
» Disable right click for images only
» little help in that code disable the right click
» How to disable right click save option?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum