I have a local file containing URL’s to Google Maps saved places.
These URL’s does not contain the GPS-position (latt/long), but if the URL is passed to a browser, then the URL is changed to something containing the GPS-pos. which I then want to extract and write back to a local file.
I am using javascript and/or HTML.
Anyone have a solution for how to do this?
I can access the local file from javascript using node.js and I can access the url from html.
But accessing the local file from a script within the html with script-code
const fs = required(‘fs’);
is not working.