Disable "Confirm Form Resubmission" prompt on Google Chrome

221,440

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. (Edit: Reported as working again since 2020.).

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:
221,440

Related videos on Youtube

Randomblue
Author by

Randomblue

Updated on September 18, 2022

Comments

  • Randomblue
    Randomblue 2 months

    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?

  • harrymc
    harrymc almost 11 years
    Just use this google query that gives more than 8000 answers.
  • Synetech
    Synetech almost 11 years
    Technically, Chrome did not introduce this feature, it has been present in pretty much all web browsers for years (at least 15 or so).
  • cweiske
    cweiske almost 10 years
    Opera fortunately does not have this misfeature.
  • EvgenKo423
    EvgenKo423 almost 2 years
    Just in case someone's looking for an answer: you've found it. This command line option works for me as of 2020.