<commit_before>(function () {
    function loadText() {
        var urlForDummies = document.querySelector("#url-for-dummies")
          , titleConf = document.querySelector("#title-conf")
          , title = Url.queryString("title") || "Anything"
          , src = Url.queryString("link") || "#"
          ;

        document.title = (titleConf.textContent = decodeURIComponent(title)) + " for Dummies"
        urlForDummies.href = decodeURIComponent(src);
    }

    function updateShareLinks() {
        var link = Url.getLocation();
        document.querySelector(".share.facebook").href = "https://www.facebook.com/sharer/sharer.php?u=" + encodeURIComponent(link);
        document.querySelector(".share.twitter").href = "http://twitter.com/intent/tweet?text=" + encodeURIComponent(decodeURIComponent(Url.queryString("title")) + " for dummies #FORDUMMIES") + "&url=" + encodeURIComponent(link);
        document.querySelector(".share.gplus").href = "https://plus.google.com/share?url=" + encodeURIComponent(link);
    }

    function checkHash() {
        var hash = location.hash.substring(1)
          , title = null
          , link = null
          ;

        if (hash === "create") {
            Url.updateSearchParam("title", prompt("Title"));
            Url.updateSearchParam("link", prompt("link"));
        }

        location.hash = "";
        loadText();
        updateShareLinks();<commit_msg>Do not encode the url.<commit_after>(function () {
    function loadText() {
        var urlForDummies = document.querySelector("#url-for-dummies")
          , titleConf = document.querySelector("#title-conf")
          , title = Url.queryString("title") || "Anything"
          , src = Url.queryString("link") || "#"
          ;

        document.title = (titleConf.textContent = decodeURIComponent(title)) + " for Dummies"
        urlForDummies.href = decodeURIComponent(src);
    }

    function updateShareLinks() {
        var link = Url.getLocation();
        document.querySelector(".share.facebook").href = "https://www.facebook.com/sharer/sharer.php?u=" + encodeURIComponent(link);
        document.querySelector(".share.twitter").href = "http://twitter.com/intent/tweet?text=" + encodeURIComponent(decodeURIComponent(Url.queryString("title")) + " for dummies #FORDUMMIES") + "&url=" + link;
        document.querySelector(".share.gplus").href = "https://plus.google.com/share?url=" + encodeURIComponent(link);
    }

    function checkHash() {
        var hash = location.hash.substring(1)
          , title = null
          , link = null
          ;

        if (hash === "create") {
            Url.updateSearchParam("title", prompt("Title"));
            Url.updateSearchParam("link", prompt("link"));
        }

        location.hash = "";
        loadText();
        updateShareLinks();
{'fraction_non_alphanumeric': 0.1581940988268752, 'fraction_numerical': 0.0007109847138286527, 'mean_word_length': 2.7620320855614975, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1393086', 'n_tokens_mistral': 797, 'n_tokens_neox': 812, 'n_words': 119}