NOTE : The url of iframe is external link which is on different domain that I cannot modify.
I could get a solution in which I was able to detect only a click event .
var monitor = setInterval(function(){
var elem = document.activeElement;
if(elem && elem.tagName == 'IFRAME'){
message.innerHTML = 'Clicked';
clearInterval(monitor);
}
}, 100);
Also , at this place it has been stated that there is no way we can capture the events of an external iFrame
. I want to capture all the events . Is it possible ?