View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0009174||Multi Theft Auto : San Andreas||CEF||public||2016-03-04 21:31||2016-06-17 01:20|
|Target Version||1.5.3||Fixed in Version||1.5.3|
|Summary||0009174: [Request] Functions for CEF forward/backward navigation and reloading the page|
While you could technically reload the current page by calling loadBrowserURL, this always performs a GET request - which may or may not be the action you performed at the time of opening the page.
|Tags||No tags attached.|
So would this allow b:reloadPage() to do a POST request when reloading if the user submitted a form to get to this page?
Chrome normally shows a dialogbox prompting to make sure you want to submit it again; and there's a flag --disable-prompt-on-repost to skip that dialog box.
I'm not really sure how to pass that to the CEF process though, I've tried to use OnBeforeCommandLineProcessing which is the recommended approach according to the general usage guide on the CEF bitbucket repo.
This would look like https://github.com/mabako/mtasa-blue/commit/82823c61cfb552d805d72c91467df9550aa7f969 if it worked.