Samantha Ming Posted on Apr 22, 2020 • Updated on May 4, 2020 • Originally published at samanthaming.com Looking for a site's URL information, then the window.location object is for you! Use its properties to get information on the current page address or use its methods to do some page redirect or refresh 💫 https://www.samanthaming.com/tidbits/?filter=JS#2 window.location.origin → 'https://www.s