window.location is an object?
<pre><code>window.location = null; // But it redirects to http://example.com/null
</code></pre>

<p>is it possible to delete window.location?</p>

<p>I am writing a proxy and I want to make sure the the script inside the  request url won't redirect to their page.</p>

<pre><code>window.location = 'http://actual-urlexample.com';
</code></pre>

<p>My idea is to replace the <em>window.location</em> with our object so that we can control the above code for my proxy sever. I want to know only one thing: whether <em>window.location</em> is an object or not. How an event(new url is loading) occurring when we assigning a value to <em>window.location</em>?</p>
