// Check for running exported on file protocol
if (window.location.protocol.substr(0, 4) === "file")
alert("Exported games won't work until you upload them. (When running on the file:/// protocol, browsers block many features from working for security reasons.)");
Remove that function to remove the warning thing, and yes probably the game wont work on chrome until exported, but it will work or any other browser like mozila or edge.