Firefox doesn't like setAttribute use iframe.contentWindow.location.replace() instead