Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
inet
active_desktop
active_scrptng
asp.components
asp.db
asp.general
comctl32
comp.packaging
components.dev
dbweb
dhtml_editing
docobjects
html_authoring
html_objmodel
iis
iis.ftp
iis.security
iis.smtp_nntp
indexserver
misc
mshtml_hosting
scripting.jscript
scripting.vbscript
sdk_setup
shell_objmodel
urlmonikers
webbrowser_ctl
wininet
  
 
date: 2 May 2006 09:18:12 -0700,    group: microsoft.public.inetsdk.programming.scripting.jscript        back       


Disabling contextmenu doesn't work in IE since I've installed google bar   
Hi

I'm trying to disable IE contextmenu (on a right click) as I want to
create my own.
The problem is that since I've installed the latest version of the
google desktop, the script doesn't work.
No other script I found on the Internet is working anymore.

As you can see below, I've tried to catch every event I'm aware of:
___________________________

<html>
<head>
<script language=javascript>
	function noRightClick(){
		return false;
	}

</script>
</head>

<body>


<script>
document.onmousedown=noRightClick;
document.onmouseup=noRightClick;
document.oncontextmenu=noRightClick;
window.onmousedown=noRightClick;
window.onmouseup=noRightClick;
window.oncontextmenu=noRightClick;
document.documentElement.onmousedown=noRightClick;
document.documentElement.onmouseup=noRightClick;
document.documentElement.oncontextmenu=noRightClick;
document.body.onmousedown=noRightClick;
document.body.onmouseup=noRightClick;
document.body.oncontextmenu=noRightClick;
</script>
</body>
</html>

_____________________________________

What else can I do?
Even more frustrating, The new yahoo mail beta manage to do it as it
has its own contextmenu when you right-click on an email...

Help please!!!
date: 2 May 2006 09:18:12 -0700   author:   unknown

Re: Disabling contextmenu doesn't work in IE since I've installed google bar   
return value entweder, pardon my identidy,

either true or false,

=========================


document.oncontextmenu = new Function("return true")

this will let go to the default.

****************************

Your's middle finger up, I suppose.





 wrote in message
news:1146586692.035786.105580@i40g2000cwc.googlegroups.com...
> Hi
>
> I'm trying to disable IE contextmenu (on a right click) as I want to
> create my own.
> The problem is that since I've installed the latest version of the
> google desktop, the script doesn't work.
> No other script I found on the Internet is working anymore.
>
> As you can see below, I've tried to catch every event I'm aware of:
> ___________________________
>
> <html>
> <head>
> <script language=javascript>
> function noRightClick(){
> return false;
> }
>
> </script>
> </head>
>
> <body>
>
>
> <script>
> document.onmousedown=noRightClick;
> document.onmouseup=noRightClick;
> document.oncontextmenu=noRightClick;
> window.onmousedown=noRightClick;
> window.onmouseup=noRightClick;
> window.oncontextmenu=noRightClick;
> document.documentElement.onmousedown=noRightClick;
> document.documentElement.onmouseup=noRightClick;
> document.documentElement.oncontextmenu=noRightClick;
> document.body.onmousedown=noRightClick;
> document.body.onmouseup=noRightClick;
> document.body.oncontextmenu=noRightClick;
> </script>
> </body>
> </html>
>
> _____________________________________
>
> What else can I do?
> Even more frustrating, The new yahoo mail beta manage to do it as it
> has its own contextmenu when you right-click on an email...
>
> Help please!!!
>
date: Fri, 19 May 2006 03:44:43 -0400   author:   asdf

Re: Disabling contextmenu doesn't work in IE since I've installed google bar   
to the OP:

I have not examined your script.

You have no right to disable my ability to do as I choose with
the content that I pull from your or anyone else's site.  You
have placed your content out in the public domain... deal with
it.  Watermark your images, make your users agree to what ever
statement of copyright or what have you.  Even if you manage to
disable the right click (which I know is still possible, I have
proved it to myself) you can not stop me from using many of the
various methods at my disposal to re-enable or even block altog-
ether you feeble attempt to limit my actions.  Firefox has built
in features that allow me to override your software.  Then theres
the extensions that allow me to completely manipulate or even re-
write your code on the fly.  I can disable also javascript altog-
ether.  If you sniff browsers, I can tell my browser to say it's
someone elses'.  This is a war you will not win.  Change the way
you operate, not the way I operate.

D.

asdf wrote:
> return value entweder, pardon my identidy,
> 
> either true or false,
> 
> =========================
> 
> 
> document.oncontextmenu = new Function("return true")
> 
> this will let go to the default.
> 
> ****************************
> 
> Your's middle finger up, I suppose.
> 
> 
> 
> 
> 
>  wrote in message
> news:1146586692.035786.105580@i40g2000cwc.googlegroups.com...
>> Hi
>>
>> I'm trying to disable IE contextmenu (on a right click) as I want to
>> create my own.
>> The problem is that since I've installed the latest version of the
>> google desktop, the script doesn't work.
>> No other script I found on the Internet is working anymore.
>>
>> As you can see below, I've tried to catch every event I'm aware of:
>> ___________________________
>>
>> <html>
>> <head>
>> <script language=javascript>
>> function noRightClick(){
>> return false;
>> }
>>
>> </script>
>> </head>
>>
>> <body>
>>
>>
>> <script>
>> document.onmousedown=noRightClick;
>> document.onmouseup=noRightClick;
>> document.oncontextmenu=noRightClick;
>> window.onmousedown=noRightClick;
>> window.onmouseup=noRightClick;
>> window.oncontextmenu=noRightClick;
>> document.documentElement.onmousedown=noRightClick;
>> document.documentElement.onmouseup=noRightClick;
>> document.documentElement.oncontextmenu=noRightClick;
>> document.body.onmousedown=noRightClick;
>> document.body.onmouseup=noRightClick;
>> document.body.oncontextmenu=noRightClick;
>> </script>
>> </body>
>> </html>
>>
>> _____________________________________
>>
>> What else can I do?
>> Even more frustrating, The new yahoo mail beta manage to do it as it
>> has its own contextmenu when you right-click on an email...
>>
>> Help please!!!
>>
>
date: Fri, 02 Jun 2006 20:59:48 -0700   author:   dNagel

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us