window.onload function - how to make it ignore google ads?
<p>Is there a way to make the window.onload function ignore a pages google ads?
If certain ads on the page take a while to load (such as video ads etc..) the function will not fire.</p>

<p><strong>example..</strong></p>

<pre><code>function pageLoaded() {
        alert('Loaded');
}
window.onload = pageLoaded;
</code></pre>

<p>No alert box will appear until all ads are completely loaded..</p>

<p>Any ideas?
Thanks.</p>
