Disable "Confirm Form Resubmission" prompt on Google Chrome
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 :
- Use GET instead of POST
- 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).
Related videos on Youtube

Randomblue
Updated on September 18, 2022Comments
-
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 almost 11 yearsJust use this google query that gives more than 8000 answers.
-
Synetech almost 11 yearsTechnically, Chrome did not introduce this feature, it has been present in pretty much all web browsers for years (at least 15 or so).
-
cweiske almost 10 yearsOpera fortunately does not have this misfeature.
-
EvgenKo423 almost 2 yearsJust in case someone's looking for an answer: you've found it. This command line option works for me as of 2020.