So i have a file locally called "index.html" which i access using the "file://" protocol. (So not the "http://" protocol). I need to access a file "data.txt" in the same directory which is continuously changed by a seperate program, but since i'm using the file protocol the access to the file is denied for security reasons.
What could i do to read the local file? I thought of running a local server using XAMPP or WAMP but i'd rather not use any extra programs.
EDIT: I cannot use an input file, since it should work without any user interaction.