I would like to understand the possibility to feed a file into <input type="file">
without user intervention. This is used to fill the forms automatically.
I know that, due to security reasons, it is impossible to access the filesystem. However, what I want to understand is the possibility to feed a file obtained in the framework of https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Working_with_files#Store_files_data_locally_using_the_IndexedDB_file_storage_library
In particular, the user could first upload a file into this database, then the extension uses it to fill the form automatically, so that the user only uploads it once and not necessarily “real-time”.