How can I remove a game reset? (F5 refresh)

I'm not talking about disabling the F5 key. I already have that covered. I'm talking about removing the reset of a game as such.

example:

Desktop 19-9-2020 12-25-19 p. m.-494.png


And the reset stays there in each project. By the way, it also doesn't change the icon that I put in my game when the reset occurs
What reset are you talking about? It's not clear to me, even with this picture that only shows a map, a party, and the UI touch event, what you want to remove.
What reset are you talking about? It's not clear to me, even with this picture that only shows a map, a party, and the UI touch event, what you want to remove.

In the Playtest, I accidentally hit F5, it is difficult for me to explain what happens but this can help me explain:(What does F5 do?)

And I want to remove that. As I said before. I don't want to remove the F5 key command. I want to remove what happens when I press F5
F5 refreshes/reloads the page.

@franapo0990: save this as a .js file and import it as a plugin~
Code:
(function() {
	var alias = SceneManager.onKeyDown;
	SceneManager.onKeyDown = function(event) {
		if (event.keyCode !== 116) alias.call(this, event);
	};
})();

Thanks caethyril, but i don't know how to use it. And if it works automatically. It didn't work
Thanks caethyril, but i don't know how to use it. And if it works automatically. It didn't work
You need to add this as a plugin and turn it on. I don't get it why you've uploaded the picture then...
I fixed it, but i still have a question (not to make another post). Also, when I press F5, the icon that I put in my game changes to the default of rpg maker mv and I can't change it.
You need to add this as a plugin and turn it on. I don't get it why you've uploaded the picture then...

I thought the UI touch event had been set when I pressed F5. That's why I had put that image, I see that I was wrong

Original thread: https://forums.rpgmakerweb.com/threads/how-can-i-remove-a-game-reset-f5-refresh.127603/