EDIT : I tried it. It is fine, Browser mode is recongnized but not Standalone nor Minimal UI...
What does it shows in Browser.DisplayMode when in standalone?
If it always shows 'Browser' then negation will have no effect.
After update, I prompt a button to let user reload the game but reloading the page doesn't run the updated version but previous version.
Maybe it's cached?
If you force the App with Ctrl-R to reload does you get the new version?