<commit_before>(function($) {

    if (navigator.userAgent.match(/(MSIE|Safari)/i) && !document.location.href.match(/not-supported/)) {
        document.location.href="/not-supported";
    }
    
    $("#title").click(function(e) {
        e.stopPropagation();
    });
    
    window.gotImage = function(dataURL) {

        $("<img>").attr("src", dataURL).load(function() {
            var img = $(this), tgt = $(".target-area");
            img.hide().appendTo("body");<commit_msg>Only redirect on home page<commit_after>(function($) {

    if (navigator.userAgent.match(/(MSIE|Safari)/i) && $("form .target-area").length) {
        document.location.href="/not-supported";
    }
    
    $("#title").click(function(e) {
        e.stopPropagation();
    });
    
    window.gotImage = function(dataURL) {

        $("<img>").attr("src", dataURL).load(function() {
            var img = $(this), tgt = $(".target-area");
            img.hide().appendTo("body");
{'fraction_non_alphanumeric': 0.2151767151767152, 'fraction_numerical': 0.0, 'mean_word_length': 2.661596958174905, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1601414', 'n_tokens_mistral': 311, 'n_tokens_neox': 308, 'n_words': 38}