If your target isn’t Opera 9 or lower and IE 9 or lower you can use css attribute pointer-events: none
.
I found it the best way just to ignore iframe. I add class with this attribute to iframe in onMouseDown
event and remove in onMouseUp
event.
Works perfect for me.