<commit_before>//the injected github UI. should be isolated, all code required should fix in this file
//TODO replace bookmark w Chrome Extension
//bookmark for testing: javascript:(function(){document.body.appendChild(document.createElement('script')).src='http://localhost:3000/github.js';})()
//bookmark needs this chrome flag --allow-running-insecure-content

var CODEBOUNTY = (function () {
    var my = {};

    function createBountyButton(initValue) {
        //TODO: make style classes
        /*github style*/
        var style = "" +
        ".bountyButton {" +
            "box-sizing: border-box;" +
            "margin-bottom: 8px;" +
            "width: 100%;" +
            "overflow: hidden;" +
            /*"display: block;"+
            "text-align: center;"+
            "padding: 7px 10px;"+
            "margin-bottom: 8px;"+
            "background: #6cc644;"+
            "color: #fff;"+
            "text-decoration: none;"+
            "font-weight: bold;"+
            "-webkit-border-radius: 3px;"+
            "-moz-border-radius: 3px;"+
            "border-radius: 3px;"+*/
        "}" +
        ".bountyCurrency {" +
            "position: absolute;" +
            "font-size: 18px;" +
            "font-weight: bold;" +
            "padding-top: 2px;" +
            "padding-left: 7px;" +
            "pointer-events: none;"+
        "}"+
        "#bountyInput {" +
            "margin-bottom: 8px;" +
            "width: 100%;" +
            "text-align: center;" +
            "font-weight: bold;" +
            "font-size: 18px;" +
            "box-sizing: border-box;" +
            "padding-left: 20px;"+
        "}";
        var customStyles = document.createElement('style');
        customStyles.appendChild(document.createTextNode(style));
        document.documentElement.insertBefore(customStyles);
        /*var link = document.createElement('link');
        link.href =  "http://localhost:3000/codebounty.css";
        link.rel = 'stylesheet';
        document.documentElement.insertBefore(link);*/<commit_msg>Fixed a few firefox related problems.<commit_after>//the injected github UI. should be isolated, all code required should fix in this file
//TODO replace bookmark w Chrome Extension
//bookmark for testing: javascript:(function(){document.body.appendChild(document.createElement('script')).src='http://localhost:3000/github.js';})()
//bookmark needs this chrome flag --allow-running-insecure-content

var CODEBOUNTY = (function () {
    var my = {};

    function createBountyButton(initValue) {
        //TODO: make style classes
        /*github style*/
        var style = "" +
        ".bountyButton {" +
            "box-sizing: border-box;" +
            "-moz-box-sizing: border-box;" +
            "-webkit-box-sizing: border-box;" +
            "margin-bottom: 8px;" +
            "width: 100%;" +
            "overflow: hidden;" +
            /*"display: block;"+
            "text-align: center;"+
            "padding: 7px 10px;"+
            "margin-bottom: 8px;"+
            "background: #6cc644;"+
            "color: #fff;"+
            "text-decoration: none;"+
            "font-weight: bold;"+
            "-webkit-border-radius: 3px;"+
            "-moz-border-radius: 3px;"+
            "border-radius: 3px;"+*/
        "}" +
        ".bountyCurrency {" +
            "position: absolute;" +
            "font-size: 18px;" +
            "font-weight: bold;" +
            "padding-top: 2px;" +
            "padding-left: 7px;" +
            "pointer-events: none;"+
        "}"+
        "#bountyInput {" +
            "margin-bottom: 8px;" +
            "width: 100%;" +
            "text-align: center;" +
            "font-weight: bold;" +
            "font-size: 18px;" +
            "-moz-box-sizing: border-box;" +
            "-webkit-box-sizing: border-box;" +
            "box-sizing: border-box;" +
            "padding-left: 20px;"+
        "}";
        var customStyles = document.createElement('style');
        customStyles.appendChild(document.createTextNode(style));
        document.body.appendChild(customStyles);
        /*var link = document.createElement('link');
        link.href =  "http://localhost:3000/codebounty.css";
        link.rel = 'stylesheet';
        document.documentElement.insertBefore(link);*/
{'fraction_non_alphanumeric': 0.15854224698235841, 'fraction_numerical': 0.016248839368616527, 'mean_word_length': 1.8938885157824044, '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': '6296022', 'n_tokens_mistral': 1301, 'n_tokens_neox': 1213, 'n_words': 250}