How do I suppress the context menu when using GameLab?
When I right-click in the game window, GameLab does recognize the right-click, but the Safari and/or Chrome context menu also pops up.
Project: Code.org - Game Lab
I tried to fix it this way:
document.addEventListener('contextmenu', event => event.preventDefault());
document doesn’t appear to be available in GameLab.