In case anyone should be looking for a better way to access window.location.search and the similar items like hostname and protocol and port, the TAddress class encapsulates this, and is accessible via the Address global. I'm posting this as I searched for it, figuring it would have been asked and answered before, and now it can be found next time I search for it...