Need current browser location information? Keep in mind that the JavaScript’s window.location object gives you all of that information about the window’s current location. Javascript Window Properties for:https://davidwalsh.name:80/article.php?s=david+walsh+blog#myAnchor window.location = { hash: ‘#myAnchor’, host: ‘davidwalsh.name’, hostname: ‘davidwalsh.name’, href: ‘https://davidwalsh.name:80/article.php?s=david+walsh+blog#myAnchor’, pathname: ‘/article.php’, port: ’80’, protocol: ‘http:’, search: ‘?s=david+walsh+blog’, replace: ‘function replace() { [native code] }’, assign: … Continue reading JavaScript’s window.location
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed