Include content based on url with javascript?
<p>I would like to include content based on url with javascript. For example, if the url is:</p>

<pre><code>http://foo.com/test
</code></pre>

<p>then include the following content from somefile.html. Can this be done in javascript? If so, how? I don't want to use an iframe.</p>
