<commit_before>;(function() {

  // Only run this script on twitter:
  if ( window.location.host.indexOf('twitter.com') === -1 ) return;

  $('head').append([
    '<style>',
      // This fixes the bullet point issue with pocket
      '.ProfileTweet-actionList.buffer-inserted {',
        'list-style: none;',
      '}',
      // To shrink the composer buttons to fit on one line
      '.tweet-button.buffer-inserted {',
        'margin-top: 3px;',
      '}',
      '.tweet-button.buffer-inserted .btn {',
        'padding: 7px 8px 6px;',
      '}',
      '.tweet-button.buffer-inserted .tweet-counter {',
        'width: auto;',
      '}',
      '.tweet-box-extras .geo-picker {',
        'margin-right: 0px;',
      '}',
      // For the twitter stream:
      '.tweet .action-buffer-container span.icon, ',
      '.tweet.opened-tweet .action-buffer-container span.icon, ',
      '.tweet.opened-tweet.hover .action-buffer-container span.icon {',
        'background-position: -3px -3px !important;',
      '}',
      '.tweet:hover .action-buffer-container span.icon {',
        'background-position: -3px  -21px !important;',
      '}',
      '.gallery-tweet .tweet .action-buffer-container span {',
        'background-position: -3px  -38px !important;',
        'margin-top: -1px;',
      '}',
      '.tweet:hover .action-buffer-container span.Icon {',
        'background-position: -5px -28px !important;',
      '}',
      'div.stream-item-footer > ul.tweet-actions > li.action-buffer-container i {',
        'margin-top: 0px ;',
      '}',
      '#profile_popup-body > ol > li > div > div.content > ',
        'div.stream-item-footer > ul.tweet-actions > li.action-buffer-container {',
        'display: none;',
      '}',
    '</style>'
  ].join(''));

  var buildElement = function buildElement (parentConfig) {

    var temp = document.createElement(parentConfig[0]);
    if( parentConfig[1] ) temp.setAttribute('class', parentConfig[1]);
    if( parentConfig[2] ) temp.setAttribute('style', parentConfig[2]);

    if ( parentConfig.length > 3 ) {
      var i = 3, l = parentConfig.length;
      for(; i < l; i++) {
        temp.appendChild(buildElement(parentConfig[i]));<commit_msg>Update Buffer icon hover state in Twitter.<commit_after>;(function() {

  // Only run this script on twitter:
  if ( window.location.host.indexOf('twitter.com') === -1 ) return;

  $('head').append([
    '<style>',
      // This fixes the bullet point issue with pocket
      '.ProfileTweet-actionList.buffer-inserted {',
        'list-style: none;',
      '}',
      // To shrink the composer buttons to fit on one line
      '.tweet-button.buffer-inserted {',
        'margin-top: 3px;',
      '}',
      '.tweet-button.buffer-inserted .btn {',
        'padding: 7px 8px 6px;',
      '}',
      '.tweet-button.buffer-inserted .tweet-counter {',
        'width: auto;',
      '}',
      '.tweet-box-extras .geo-picker {',
        'margin-right: 0px;',
      '}',
      // For the twitter stream:
      '.tweet .action-buffer-container span.icon, ',
      '.tweet.opened-tweet .action-buffer-container span.icon, ',
      '.tweet.opened-tweet.hover .action-buffer-container span.icon {',
        'background-position: -3px -3px !important;',
      '}',
      // '.tweet:hover .action-buffer-container span.icon {',
      //   'background-position: -3px  -21px !important;',
      // '}',
      '.gallery-tweet .tweet .action-buffer-container span {',
        'background-position: -3px  -38px !important;',
        'margin-top: -1px;',
      '}',
      // '.tweet:hover .action-buffer-container span.Icon {',
      //   'background-position: -5px -28px !important;',
      // '}',
      'div.stream-item-footer > ul.tweet-actions > li.action-buffer-container i {',
        'margin-top: 0px ;',
      '}',
      '#profile_popup-body > ol > li > div > div.content > ',
        'div.stream-item-footer > ul.tweet-actions > li.action-buffer-container {',
        'display: none;',
      '}',
    '</style>'
  ].join(''));

  var buildElement = function buildElement (parentConfig) {

    var temp = document.createElement(parentConfig[0]);
    if( parentConfig[1] ) temp.setAttribute('class', parentConfig[1]);
    if( parentConfig[2] ) temp.setAttribute('style', parentConfig[2]);

    if ( parentConfig.length > 3 ) {
      var i = 3, l = parentConfig.length;
      for(; i < l; i++) {
        temp.appendChild(buildElement(parentConfig[i]));
{'fraction_non_alphanumeric': 0.1802391157229867, 'fraction_numerical': 0.011730205278592375, 'mean_word_length': 2.4003067484662575, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 27, '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': '2065483', 'n_tokens_mistral': 1443, 'n_tokens_neox': 1412, 'n_words': 283}