This file is indexed.

/usr/share/tdiary/js/referer.js is in tdiary-contrib 3.2.2-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
/**
 * referer.js: fetch referer with ajax
 *
 * Copyright (C) 2013 by MATSUOKA Kohei <kmachu@gmail.com>
 * You can distribute it under GPL.
 */

$(function() {
  $('div.main').on('click', 'button.lazy_referer', function(e) {
    var button = $(this);
    button.attr("disabled", "disabled");
    $.get(button.data('endpoint'), function (data) {
      button.after($(data));
      button.hide();
    }, 'html');
  });
});