Godot currently does not support file dialogs on web exports to talk with the host file system, so i implemented my own :3
i was originally going to use the semi-new(?) filesystem API, but its not supported on firefox or safari. so instead this does an incredibly janky trick where it creates an invisible <input type="file"> and then triggers its dialog from javascript through .click() lol. theres some caveats for doing it like that (mostly that the user needs to have interacted with the window sufficiently, like with autoplaying videos) but it seems to work!!
theres still some tinkering i need to do i think, like implementing file filters and stuff, but when its done i'll try put it up on the assetstore as a plugin :)
(eggbug ascii by @cefqrn)
