opera.addEventListener("BeforeEvent", function(e){ opera.postError(e.event.eventType + " произошел на " + e.event.srcElement) }, true)