![]() |
Disable Right Click
1 Attachment(s)
This script will act as a sort of barrier to prevent people from right clicking on your forum thus offering some sort of protection. There are ways to get round this but think of it as a hurdle which may put some people off.
Add the following code to the header template: Code:
<script type="text/javascript"> Editing the Error Message: Changing the message shown is a piece of cake. This can be done by finding this line near the top of the script: Code:
var error="Right click functionality is disabled"; |
Suggestion :
1) Create Template with this code 2) create a hook : in Header_head Template Name : from template 1 then there is no need to edit the template with VB5 alot of use will be aiming towards using template hooks to do all the tasks for use |
Good suggestion. Thanks for the tip :)
|
now you can create a mod :p
|
Added an xml file that will automatically add the template changes. You can also edit the error message from the Settings page instead of through the template when using the xml file.
|
Have an update for 4.1.10 ?
|
Quote:
in this case you would be asking the developer to downgrade the mod VB5 uses a completly new hook system and will not work on VB4 |
:up: thanks iwill applied in my forums
|
Lock the right button of the mouse has some advantages:
Such as lack of access to the source of the page And do not copy the content of Thread And do not copy URL Thanks :) |
May seem like a stupid question but this "hook" your talking about how does one go about doing that? I know how to create the template but the hook is something I am not familiar with. Will be glad to read some if I need to learn.
|
All times are GMT. The time now is 06:02 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:
|