title: How can I extract tokens from the current URL using JavaScript
body: <p>Given an URL such as <code>/abc.html#variable1</code>, I want to capture the <code>variable1</code> part to determine a given user's "virtual page" when working with JavaScript (jQuery).</p>