This seems like a rather simple request but no amount of Googling has turned up a satisfactory answer, which is surprising because all I want is to get the website URL. Not the URL as taken from a link (I can already do that just fine) on the page loading I need to be able to grab the full, current URL of the website and set it as a variable to do with as I please.
Can anyone help me?