This file is indexed.

/usr/share/webext/privacy-badger/skin/firstRun.js is in webext-privacy-badger 2018.2.5-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
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
(function($) {

$(window).load(function () {
  $('.jcarousel').jcarousel();

  $('.jcarousel-control-prev')
    .on('jcarouselcontrol:active', function() {
      $(this).removeClass('inactive');
    })
    .on('jcarouselcontrol:inactive', function() {
      $(this).addClass('inactive');
    })
    .jcarouselControl({
      target: '-=1'
    });

  $('.jcarousel-control-next')
    .on('jcarouselcontrol:active', function() {
      $(this).removeClass('inactive');
    })
    .on('jcarouselcontrol:inactive', function() {
      $(this).addClass('inactive');
    })
    .jcarouselControl({
      target: '+=1'
    });

  $('.jcarousel-pagination')
    .on('jcarouselpagination:active', 'a', function() {
      $(this).addClass('active');
    })
    .on('jcarouselpagination:inactive', 'a', function() {
      $(this).removeClass('active');
    })
    .jcarouselPagination();

  $(document).on('keyup', function(e) {
    var key = e.which || e.keyChar || e.keyCode;
    if (key == 37) { // Left arrow
      $('.jcarousel').jcarousel('scroll', '-=1');
    } else if (key == 39) { // Right arrow
      $('.jcarousel').jcarousel('scroll', '+=1');
      setSeenComic();
    }
  });

  $(".jcarousel-control-next").click(setSeenComic);
  $(".jcarousel-pagination").click(setSeenComic);

  function setSeenComic() {
    var badger = chrome.extension.getBackgroundPage().badger;
    var settings = badger.storage.getBadgerStorageObject("settings_map");
    settings.setItem("seenComic", true);
  }
});

})(jQuery);