I have the following statement to get the href location of my iframe window...
var mbackwindow = document.getElementById("mframe").contentWindow.location.href;
depending on how I load the initial page, the console.log(mbackwindow) will show me either http://something/page/stuff.html, or https://something/page/stuff.html
From my variable mbackwindow, 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?
Thanks!