How to get the website URL on Page Load using JavaScript

How to get the website URL on Page Load using JavaScript

More to explore

Based on this image's title: “How to get the website URL on Page Load using JavaScript