I just developed an extension allowing users to upload files to Lufi (A service similar to Firefox Send or WeTransfer) by clicking on the icon of the extension or using a command (shortkey).
To select the file, I create an HTMLInputElement in JavaScript and simulate a click on it to open the file s…