This tutorial will walk through how to get the URL and parts in Javascript - The full URL, host, path, filename, query, and more.