I am not that efficient in vb scripts, more a php, java guy. :)
Run through the document's anchors collection and set the onclick handler of each to a common handler that cancels the event by setting the window.event.returnValue to false. You could attach all the handlers in the window onload event and control the handler's behavior with a page level true/false flag.
Of course this is an IE solution not sure if this will work in other browsers...
JYes but I know that there are vbs scripts that can say, open the cd drive open windows and such. I read about calling some sort of "block intercept" funtion or something, but I'm not sure how to get it to run in the Windows enviroment...
Hey AndreRet, thanks for the codes I wasn't really able to find such coding, but even still, they both throw "expected statment" errors.
However, this code does not give errors but it also doen't do anything...
if Window.event.button = 2 Then
Alert("Sorry ,but right click is not allowed.")
I'm simply copying and pasting the codes into a text file then changing the extention to ".vbs" should i be using a programming language? or is that suffcient?