I would like to access a local file in the immediate directory
From my understanding, you’d usually have to do something like
file://path/to/file/document.html
which requires the full path, but I would like to do something like
file://./document.html
instead, where ./ represents the current directory reference, so that I do not have to know the directory path nor make any assumptions about it.
is there any trickery like that possible with html file paths?
Use:
With no protocol specified, and no
/for directories, the browser should request the asset from the same directory/folder that the current page is at.