vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   No Right Click (https://vborg.vbsupport.ru/showthread.php?t=126129)

Calibre_k 09-09-2006 12:30 AM

No Right Click
 
Can someone make a mod that no-one on forum, threads, posts can NOT right click.

So no right clicks.

THANK YOU.

robert_2004 09-09-2006 07:25 AM

add the following to the bottom of HEADER_INCLUDE
Code:

<SCRIPT LANGUAGE="JavaScript1.1">
<!-- Original:  Martin Webb (martin@irt.org) -->

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
function right(e) {
if (navigator.appName == 'Netscape' &&
(e.which == 3 || e.which == 2))
return false;
else if (navigator.appName == 'Microsoft Internet Explorer' &&
(event.button == 2 || event.button == 3)) {
alert("Sorry, you do not have permission to right click.");
return false;
}
return true;
}

document.onmousedown=right;
document.onmouseup=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
if (document.layers) window.captureEvents(Event.MOUSEUP);
window.onmousedown=right;
window.onmouseup=right;
//  End -->
</script>


Ziki 09-09-2006 07:29 AM

Or use my no right click hack that has been already made :)

Calibre_k 09-09-2006 11:19 AM

robert_2004 - Thank you

Ziki - Which hack is that do you have link?

Ziki 09-09-2006 03:18 PM

https://vborg.vbsupport.ru/showthread.php?t=124470
:)

Calibre_k 09-09-2006 09:10 PM

Thanks will it work with vBulletin Version 3.6.0?

Ziki 09-09-2006 10:22 PM

I really don't know.My hacks are mostly for 3.5.

Calibre_k 09-09-2006 10:44 PM

Thanks Bro I installed it & it works on 3.6

Ziki 09-09-2006 10:46 PM

Great

Calibre_k 09-09-2006 10:58 PM

Thank You.

Zachery 09-09-2006 11:13 PM

Disabling right click is silly.

Ziki 09-10-2006 03:10 PM

Everyone has it's own use for it.Maybe they offer some graphic logos and they do not want them to be stealed


All times are GMT. The time now is 11:19 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
  • Page Generation 0.01096 seconds
  • Memory Usage 1,726KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (12)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete