![]() |
Disable right click on your forum.
1 Attachment(s)
This script taken from dynamic drive will disable the right click on your forum for guests. As to offer some protection to your materials being stolen from your forum.
Note: This will prevent them only for the right click and copy/paste directly. Anyway, add the following code to the very begin of the headinclude template. Code:
<vb:if condition="$show['guest']"> Code:
var message="Right click is disabled for guests!"; Code:
Right click is disabled for guests! |
This disable and the "CODE" "/CODE" .....?
|
Quote:
|
...what about ctrl+c???...
|
Quote:
Quote:
|
Why bother ?
When the context menu has been disabled like this it can be easily re-enabled by typing javascript:void oncontextmenu(null) into the address bar of the browser. View source code in nearly every browser. Opera ignores no right clicks anyhoo. All you will do is piss people off |
You got a point TimberFloorAu. There is no 100% of preventing that but we might as well try to make them work harder :D
|
LOL
You should do the javascript version. When they right click they get a warning, if they do it again : it will redirect them to a porn site ! |
how do i set it so no one can do it ?? for certain user groups
|
Quote:
Code:
<vb:if condition="is_member_of($bbuserinfo, 1,2,3)"> And change the gids 1,2,3 with your own usergroups ids that you don''t want to use the right click function at your forum. |
All times are GMT. The time now is 07:21 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|