I have a HTML file with javascript which runs locally on my pc. (Not using server!)
When the program runs in error, it creates a log TXT. I am using 'console.save' script.
My problem is that chrome doesn't automatically downloads the second txt, because it asks for permission to download. If I give permission it works but only until I refres the page. After refresh it won't work. I tried in "chrome://settings/content/automaticDownloads" to give permission but it does not work. It's not an URL, it's a "file:///C:/index.html".
In the settings I have only 2 options. To deny the download or to ask for permission. There is no option to allow all downloads.
Is there any way to allow it?