Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
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.