Bug 1043408 - Change iframe.parentNode.getAttribute to iframe.parentNode.parentNode.getAttribute all over the place