title: running JavaScript on a file:/// page (opened with Chrome on Windows 7)
body: <p><strong>the idea:</strong>
  I'd like to make a very lightweight alternative to Windows Explorer for sorting and viewing my pictures, and the best approach (if it is possible) that I can think of is using javascript and jQuery to parse the html that is generated when I enter a file:/// url into Chrome.</p>
  
  <p><strong>possible approach:</strong>
  The only way I can think to do this is to have a html page linking to my script, with an iframe containing the file:/// generated page, then accessing the list of files from there.</p>
  
  <p><strong>EDIT</strong> <em>example of the possible approach. <code>explore.js</code> would have a script that accesses DOM elements inside <code>myFrame</code> and generates a custom view of the directory</em></p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
    &lt;head&gt;
      &lt;script src="explore.js" type="text/javascript"&gt;&lt;/script&gt;
      &lt;title&gt;My Explorer&lt;/title&gt;
    &lt;/head&gt;
    &lt;body&gt;
      &lt;iframe id="myFrame" src="file:///c:/my/pics/directory"&gt;&lt;/iframe&gt;
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p><strong>questons:</strong>
  I've played around a <em>little</em> with no success - is it possible to access an iframe in this way (and how would this be approached)? Is there another approach that would give me something with similar simplicity, customizability and portability?</p>