Javascript - how do I iterate thru all URLs of a given page
<p>I am not experienced in Javascript. After the page finishes loading, I need to iterate thru all URLs a given page and perform some cleanings.</p>

<p>How do I do that?</p>

<p>Something like</p>

<pre><code>for i = 0 to (number of URLS on the page) {

  doSomething (URL(i));

}
</code></pre>

<p>thanks</p>
