Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to disable "Confirm Form Resubmission" popups on Google Chrome when I make a refresh. This (very) old discussion acknowledges the problem but doesn't provide a fix.

Is there someone out there with a better idea?

share|improve this question
Download the Chrome source code and hack together your own version with all the features you do and don't want. – Moab Oct 1 '11 at 0:26
Like JSZ said in the discussion thread that Justin linked to, it is up to the site to handle re-visits (such as searches), not the browser to (impossibly) guess what is or is not a valid/safe automated resubmit. – Synetech Jan 9 '12 at 6:18
from RFC 2616: "This allows user agents to represent other methods, such as POST, PUT and DELETE, in a special way, so that the user is made aware of the fact that a possibly unsafe action is being requested." – hakre Dec 25 '14 at 19:00
up vote 9 down vote accepted

Chrome introduced this "feature" in order to avoid users unintentionally duplicating POST actions on forms, such as buying the same article twice.

This apparently was fixed some time ago by using the -disable-prompt-on-repost parameter on the Chrome invocation, but this also was broken in later versions.

In spite of numerous related Chrome bug reports, that stayed open for years (!), the bug is still there. Apparently, the Chrome module that does back/forward is written so badly that it is almost impossible to fix. And nobody dares rewrite it from scratch.

Therefore, if you cannot modify the page containing the POST operation, then you are out of luck and there is no solution.

If you can modify the page, then you have two solutions :

  1. Use GET instead of POST
  2. Use the Post/Redirect/Get method with the HTTP 303 response code

There is of course the solution of using another browser than Chrome (but that doesn't answer the question).

share|improve this answer
Thanks. Could you please link to some of these bug reports? – Randomblue Jan 3 '12 at 20:34
Just use this google query that gives more than 8000 answers. – harrymc Jan 4 '12 at 6:43
Technically, Chrome did not introduce this feature, it has been present in pretty much all web browsers for years (at least 15 or so). – Synetech Jan 9 '12 at 6:18
Opera fortunately does not have this misfeature. – cweiske Dec 7 '12 at 15:51

protected by Mokubai May 11 '15 at 21:33

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.