title: Duplicate local webpages in different locations grab same localStorage data?
body: <p>I have a folder structure (an extracted zip file) with a file in it called "config.html" that calls <code>localStorage</code> when it loads.  If I unzip an instance of this folder structure to the desktop, launch "config.html," generate some data that gets saved to <code>localStorage</code>, and then extract another instance of the zip file anywhere else on my hard drive, and open the secondary "config.html", that <code>localStorage</code> call brings in the <code>localStorage</code> data from the <em>first</em> instance of "config.html", regardless of location on my hard drive. I'm not sure if I'm doing something wrong, or it's a limitation with <code>localStorage</code> when used locally.  It seems that when retrieving data, the <code>localStorage</code> call looks for a webpage name, and not the entire folder path as I was expecting.  Also, if I call <code>localStorage.clear()</code>, it clears data for all instances of "config.html."  Essentially, all webpages with the same file name seem to be tied to the same <code>localStorage</code> saved data.  Is there a way to prevent this?</p>