TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Browsers need a "Return without resending" option...

1 点作者 TimothyBurgess超过 14 年前
This is just a pet peeve of mine.<p>I get pretty annoyed when I can't hit my back button or refresh a page without resending post data (if post data was previously submitted of course).<p>The only two options have always been "Resend" or "Cancel"... and a lot of the time I just want to get back to that page without resending the POST data. I do realize that sometimes the content of the page is dependent on that data but 9 times out of 10, it's not.<p>It seems that anytime I want to return to the page, I have to manually re-enter the URL or select a few steps back into my history.<p>Anyone know why the only options are "Resend" and "Cancel"?

2 条评论

tjpick超过 14 年前
get in.<p>the pattern is called redirect after post. It doesn't require browser changes it requires web developers to add 1 line of code.
评论 #2204632 未加载
TimothyBurgess超过 14 年前
For instance, the current #2 link on HN leads to:<p><a href="http://thenextweb.com/microsoft/2011/02/11/bing-smacks-google-in-new-usability-test/" rel="nofollow">http://thenextweb.com/microsoft/2011/02/11/bing-smacks-googl...</a><p>And if you wait a few seconds and hit your back button to return to HN, the "Resend/Cancel" window pops up (unexpectedly!)... I find it pretty annoying that I suddenly have to click it to do anything else.