Page is a not externally linkable
Stue - 3:11 pm on May 29, 2002 (gmt 0)
Actually tho, i have found to workaround by assigning the <BODY> tag the "onclick" handler, this way opera gets it. But when youre talking about remodding one js-file in 100 projects you dont want to edit each and every HTML site to make it work with the new right-click-script. You would rather just exchange the js files. Thus, the mentioned workaround isnt an option. Im wondering why it eats but not or As you see, im not about to abuse or manipulate anything, im just replacing (except that i substract the "view source" and other unimitatable functions). Opera being the "user friendliest" is the "developer meanest" at the same time...well besides NS4 of course.
Well, capturing events doesnt always mean manipulation. In my case im about to cap the right key and instead of popping up the context menu there will be a custom menu (of course "view source" isnt in it).
<BODY onclick="function();">
document.body.onclick = function();
document.onclick = function();