This should make it work in older browsers (WebViews) by polyfilling (and maybe something else?) the features that are used in the code, but are not supported by older browsers, like optional chaining.
I haven't actually tested it on such older browsers.
TODO:
- As @adb tested, this makes is stop working (white screen).
Debugging tip on Desktop:
(削除) place a breakpoint on fill_up_connections
in webxdc-wrapper.html, step into then reset numIterations to 0
after the numIterations = 50 line has been executed (削除ここまで)
In dev tools, select the index.html context and execute location.reload().