<commit_before>var targets = [
  '[data-ga-event-category="pure_ads_sp"]',
  '[data-role="footer"][data-theme="a"]',
  '[data-role="footer"] li:nth-child(2)',
  '[data-role="footer"] li:nth-child(3)',
  '[data-role="content"] [data-role="listview"]:nth-child(5)',
  '[data-role="content"] [data-role="listview"]:nth-child(6)',
];
var $removeTarget = $(targets.join());

var registerButtonPC = '<a href="https://ssl.kokucheese.com/event/entry/429832/"><input type="button" class="register-button" value="今すぐ理科ブラ6に参加登録する！"></a>';
var registerButtonSP = '<a href="https://ssl.kokucheese.com/s/event/entry/429832/"><input type="button" class="register-button" value="今すぐ理科ブラ6に参加登録する！"></a>'

function jQueryMain() {
  $removeTarget.remove();
  var isSP = !!location.href.match(/^(http:\/\/kokucheese.com\/s)(.*)/);
  var insertHtml = isSP ? registerButtonSP : registerButtonPC;
  $('.register-target').append(insertHtml);
}

$(jQueryMain);<commit_msg>update kokucheese_export.js<commit_after>var targets = [
  '[data-ga-event-category="pure_ads_sp"]',
  '[data-role="footer"][data-theme="a"]',
  '[data-role="footer"] li:nth-child(2)',
  '[data-role="footer"] li:nth-child(3)',
  '[data-role="content"] [data-role="listview"]:nth-child(5)',
  '[data-role="content"] [data-role="listview"]:nth-child(6)',
];
var $removeTarget = $(targets.join());

var registerButtonPC = '<a href="https://ssl.kokucheese.com/event/entry/429832/"><input type="button" class="register-button" value="今すぐ理科ブラ6に参加登録する！"></a>';
var registerButtonSP = '<a href="https://ssl.kokucheese.com/s/event/entry/429832/"><input type="button" value="今すぐ理科ブラ6に参加登録する！"></a>'

function jQueryMain() {
  $removeTarget.remove();
  var isSP = !!location.href.match(/^(http:\/\/kokucheese.com\/s)(.*)/);
  var insertHtml = isSP ? registerButtonSP : registerButtonPC;
  $('.register-target').append(insertHtml);
}

$(jQueryMain);
{'fraction_non_alphanumeric': 0.23938428874734607, 'fraction_numerical': 0.01910828025477707, 'mean_word_length': 6.277992277992278, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 4, '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': '6620812', 'n_tokens_mistral': 743, 'n_tokens_neox': 743, 'n_words': 83}