I have this method:
function replaceRightClickIcefacesMethod() { var oldName = jQuery(\".singlePaneOfGlassBlock\").attr(\"oncontextmenu\"); oldName = old
I was able to get it as string instead of function (as it was in IE) like this:
var oldName = jQuery(".singlePaneOfGlassBlock")[0].getAttributeNode("oncontextmenu").value;