Refreshing the page will prompt "To display this page, Firefox must send data that will cause the previous action to be repeated (such as searching or placing an order)"
Look at the following code
$("iframe").load(function(){
$(this).attr( "src","about:blank");
})
You can avoid this prompt by setting the address to an empty page after opening the frame
But there is a problem after setting src The load event will be triggered, which will lead to cyclic loading
So you need to set a parameter and make a mark after triggering the normal event
Check it after loading
$("iframe[name=hi]").load(function(){
if ($(this). data("send")) {
$(this).attr("src", "about:blank").data("send",false);
}
})