Hello everyone,
With Construct 2, it is possible to use a code on the Event Sheet to disable the "Refresh" button on the browser?
Thank you!
Develop games in your browser. Powerful, performant & highly capable.
there is no way to disable. but you can use this code
window.addEventListener('beforeunload', function (e) { e.preventDefault(); e.returnValue = ''; });
developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onbeforeunload
To Eren:
Hello, the action represented by the globe is a global variable? I can not see it properly because you have not expended the area so we can see the names of the action properly.
this "execute javascript" action of "browser" object.