<commit_before>function callback(obj) {
    if(obj["stats_enabled"] == undefined || obj["stats_enabled"] == true) {
        var s = document.createElement('script');
        s.src = chrome.extension.getURL("chat_stats.min.js");
        s.onload = function() {
            this.parentNode.removeChild(this);
        };
        document.head.appendChild(s);
    }

    if(obj["filter_enabled"] == undefined || obj["filter_enabled"] == true) {
        var x = document.createElement('script');
        x.src = chrome.extension.getURL("chat_filter.min.js");
        x.onload = function() {
            this.parentNode.removeChild(this);
        };
        document.head.appendChild(x);
    }
}

chrome.storage.local.get(null, callback);<commit_msg>Whoops, forgot one more change to chrome_inject.js<commit_after>function callback(obj) {
    if(obj["stats_enabled"] == undefined || obj["stats_enabled"] == true) {
        var s = document.createElement('script');
        s.src = chrome.extension.getURL("chat_stats.user.js");
        s.onload = function() {
            this.parentNode.removeChild(this);
        };
        document.head.appendChild(s);
    }

    if(obj["filter_enabled"] == undefined || obj["filter_enabled"] == true) {
        var x = document.createElement('script');
        x.src = chrome.extension.getURL("chat_filter.user.js");
        x.onload = function() {
            this.parentNode.removeChild(this);
        };
        document.head.appendChild(x);
    }
}

chrome.storage.local.get(null, callback);
{'fraction_non_alphanumeric': 0.15848068107400132, 'fraction_numerical': 0.0, 'mean_word_length': 2.782178217821782, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '7438742', 'n_tokens_mistral': 448, 'n_tokens_neox': 444, 'n_words': 65}