E
emmajoh
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!!!
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!!!