Get The Current Page URL

    A very simple snippet, which stores the current page URL in a variable:
    [javascript]
    // Retrieve current URL
    var url = document.URL;
    [/javascript]

    Leave a Reply