Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

Feedback: irt.org FAQ Knowledge Base Q969

Feedback on: irt.org FAQ Knowledge Base Q969

Sent by Andrei on February 24, 2000 at 11:43:26: - feedback #855

Worth:
Very worth reading

Comments:
just insert the below code above </head> tag and it will work
in Internet Explorer too!
<SCRIPT LANGUAGE="Javascript">

</SCRIPT>


Sent by Frustrated JavaScript user on March 28, 2000 at 03:45:48: - feedback #1001

Worth:
Very worth reading

Comments:
Very worth reading but... STILL GOT WAY TO DO RightMouseClick(RMC)!!!!!!!!!!!

(Read slowly!!)
Let me tell you how. I display a Msgbox upon a RMC.

Then I press Enter key and RMC together.

Then I release both together.

Then hor, RMC activated!!!!!!!

People can still click view source!!!!!!!

Help!!!!!!!!!!!!!!!!!

Need to stop RMC!!!!!!!!!!!


Sent by Alan Mukamal on August 03, 2000 at 13:16:13: - feedback #1573

Worth:
Very worth reading

Length:
Just right

Technical:
Just right

Comments:
It does not seem to work for IE 5, but works fabulously for Netscape. Is there an update for IE?


Sent by Janne Ikonen on September 06, 2000 at 08:19:23: - feedback #1717

Worth:
Very worth reading

Comments:
There is error in that second script that uses activeX component, in function cancelmenu(e), there are 2 closings ( } ) too much, there should be only 3 closings, becouse 1 closing is made after third "if" and second after "else".
Here is it at the way it works:
<html>
<head><title>Something</title>

<script language="JavaScript">
menuon=false;

function cancelmenu(e) {
if (document.all) {
if (event.button == 2) {
menuon=true;
if (popmenu.readyState==4) {
popmenu.RemoveAllItems();
popmenu.AddItem("","","","");
popmenu.Popup (event.x,event.y);
}
else
alert("Please wait. Page Loading...")
}
if (event.button == 1)
if (menuon) {
popmenu.RemoveAllItems();
popmenu.Popup (event.x,event.y);
menuon=false;
}
}
}
document.onmousedown = cancelmenu;
</script>

</head>

<body>

<object id="popmenu" width=0 height=0 classid="CLSID:F5131C24-E56D-11CF-B78A-444553540000" codebase="http://activex.microsoft.com/controls/iptdweb/ikcntrls.cab">
<param name="_Version" value="65536">
<param name="_ExtentX" value="2646">
<param name="_ExtentY" value="1341">
<param name="_StockProps" value="0">
</object>

</body>

</html>

ps. I had to take comments out from <script> definition becouse they hided script so it wouldnt show with this submit.


Sent by Michel on October 31, 2000 at 03:31:34: - feedback #1933

Worth:
Very worth reading

Length:
Just right

Technical:
Just right

Comments:
IE5 update:
<body oncontextmenu="alert('copyright'); return false"></body>

or

<body oncontextmenu="return false"></body>
to do nothing


Sent by Free man on March 04, 2001 at 19:37:37: - feedback #2450

Comments:
You should be shot for writing this vile script.


Sent by anonymous on June 04, 2001 at 17:44:35: - feedback #2802

Worth:
Very worth reading

Comments:
How about the "context menu" key on a Windows keyboard... that and the TAB key go around the mouseclick protection


©2018 Martin Webb