Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]

Subject: FLASH: Re: Flash: Disable right-click
From: mholley
Date: Thu, 27 Jan 2000 15:33:09 GMT

I don't know if this will work or not because I haven't tried it yet. It is a
script that I got from "The Javascript Source" that is used to disable image
nabbing off of a web page.. These parameters will simply pop up a message box
saying that you can't use right-click, but I'm assuming you can modify it.
Would be curious to know if you get it to work.


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

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

function trap() {
document.images[i].onmousedown = right;
// End -->
Don't forget to add an onload function to your <BODY> tag and you'll be ready to
roll! *

* <BODY onLoad="trap()">

Hi there,

Is there any way of turning the right mouse click option off when the mouse
is over a flash movie in a web page under Windows?



To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com

  FLASH: Trapping clicks..., m i l e s l i g h t w o
  Re: FLASH: Re: Flash: Disable right-clic, 2Nerotik

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]