嘿,我收到了 Firefox 的确认。
To display this page, Firefox must send information that will repeat any action
(such as a search or order confirmation) that was performed earlier.
有人知道这个确认是做什么用的吗?
以及如何摆脱这种情况?
尝试将请求类型从 POST 更改为 GET。
如果无法更改请求类型,
要重新加载页面,请尝试使用:
window.location=window.location;
代替
window.location.reload();
正如回答问题时所建议的阻止 Firefox 重新加载确认 https://stackoverflow.com/questions/12622019/preventing-firefox-reload-confirmation
在 Firefox、Chrome 中工作得很好..
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)