How to get location.href on either secure or non-secure http request
<p>I have the following statement to get the href location of my iframe window...</p>

<pre><code>var mbackwindow = document.getElementById("mframe").contentWindow.location.href;
</code></pre>

<p>depending on how I load the initial page, the console.log(mbackwindow) will show me either  <code>http://something/page/stuff.html</code>, or <code>https://something/page/stuff.html</code></p>

<p>From my variable <code>mbackwindow,</code> I want to get the "/page/stuff.html", no matter if the location is coming from http or https.  How I collect that via javascript / jquery?</p>

<p>Thanks!</p>
