This file is indexed.

/usr/share/ubuntu-packaging-guide/_static/main.js is in ubuntu-packaging-guide-common 0.3.8.

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() {

    var toc = "#sidebar";
    var offset = $(toc).offset();

    $(window).scroll(function() {
        if ($(window).height() > $(toc).height() &&   
            $(window).scrollTop() > offset.top) 
        {       
            $(toc).stop().addClass('fixed');
        
        } else {
              $(toc).stop().removeClass('fixed');
        }
    });

    $('a[href=#top]').click(function(){
        $('html, body').animate({scrollTop:0}, 'slow');
        return false;
    });
});


$(document).ready(function() {
    var text = 'Search';
    $('#input-search').val(text);

    // Clear and re-populate
    $('#input-search').bind({
        focus: function() {
            if ($(this).val() == text) {
                $(this).val('');
                $(this).css('font-style', 'normal');
                $(this).css('color', '#333');
            }
        },
        blur: function() {
            if ($(this).val() == '') {
                $(this).val(text);
                $(this).css('font-style', 'italic');
                $(this).css('color', '#ccc');
            }
        }
    })
    
    // Enter key submits form
    $('#input-search').keypress(function(e) {
        if (e.which == 13) {
            // Handle empty searches for WP
            if ($(this).val() == '') {
                $(this).val(' ');
            }
            $('#form-search').submit();
            e.preventDefault();
        }
    });
});