<commit_before>$.register({
  rule: [
    {
      host: /^imgmega\.com$/,
      path: /^\/([^\/]+)\/.+\.jpg\.html$/,
    },
    {
      host: /^pic\.re$/,
      path: /^\/([^\/]+)$/,
    },
    {
      host: /^imagebucks\.biz$/,
      path: /^\/([^\/]+)\/.+\.jpg$/,
    },
  ],
  ready: function (m) {
    'use strict';

    var i = $.$('form[action=""]');
    if (i) {
      // first stage
      $.openLinkByPost('', {
        id: m.path[1],
        next: '',
        op: 'view',
        pre: 1,
      });
      return;
    }
    i = $('img.pic');
    $.openImage(i.src);
  },
});

// ex: ts=2 sts=2 sw=2 et
// sublime: tab_size 2; translate_tabs_to_spaces true; detect_indentation false; use_tab_stops true;
// kate: space-indent on; indent-width 2;
<commit_msg>pic.re<commit_after>$.register({
  rule: [
    {
      host: /^imgmega\.com$/,
      path: /^\/([^\/]+)\/.+\.jpg\.html$/,
    },
    {
      host: /^pic\.re$/,
      path: /^\/([^\/]+)$/,
    },
    {
      host: /^imagebucks\.biz$/,
      path: /^\/([^\/]+)\/.+\.jpg$/,
    },
  ],
  ready: function (m) {
    'use strict';

    var i = $.$('form[action=""]');
    if (i) {
      // first stage
      i.submit();
      return;
    }
    i = $('img.pic');
    $.openImage(i.src);
  },
});

// ex: ts=2 sts=2 sw=2 et
// sublime: tab_size 2; translate_tabs_to_spaces true; detect_indentation false; use_tab_stops true;
// kate: space-indent on; indent-width 2;

{'fraction_non_alphanumeric': 0.26423049894588896, 'fraction_numerical': 0.008432888264230498, 'mean_word_length': 1.6918714555765595, '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': '6863470', 'n_tokens_mistral': 597, 'n_tokens_neox': 568, 'n_words': 105}