<input id="files" type="file" multiple />HTMLInputElement: webkitEntries property / notebook
HTMLInputElement: webkitEntries property
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.
document.getElementById("files").addEventListener("change", (event) => {
event.target.webkitEntries.forEach((entry) => {
/* do stuff with the entry */
});
});