This file is indexed.

/usr/share/doc/python-automaton-doc/html/_static/js/navigation.js is in python-automaton-doc 1.14.0-0ubuntu1.

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
58
59
60
61
62
63
64
65
// Open header search bar
$(function() {
  $(".search-icon").click(function() {
    $(".navbar-main").toggleClass("show");
    $(".search-container").toggleClass("show");
    $(".search-icon").toggleClass("show");
    $('#gsc-i-id1').focus();
  });
});

// Close header search bar
$(function() {
  $(".close-search").click(function() {
    $(".navbar-main").toggleClass("show");
    $(".search-container").toggleClass("show")
    $(".search-icon").toggleClass("show");
  });
});

// Open header drop downs on hover
jQuery(document).ready(function(){
    if (jQuery(window).width() > 767) {
        $('ul.navbar-main li ul.dropdown-menu').addClass('dropdown-hover');
        $('ul.navbar-main li').hover(function() {
          $(this).find('.dropdown-hover').stop(true, true).delay(400).fadeIn(100);
      }, function() {
          $(this).find('.dropdown-hover').stop(true, true).delay(100).fadeOut(200);
      });
    } else {
        $('ul.navbar-main li ul.dropdown-menu').removeClass('dropdown-hover');
    }
});
jQuery(window).resize(function () {
    if (jQuery(window).width() > 767) {
        $('ul.navbar-main li ul.dropdown-menu').addClass('dropdown-hover');
        $('ul.navbar-main li').hover(function() {
          $(this).find('.dropdown-hover').stop(true, true).delay(400).fadeIn(100);
      }, function() {
          $(this).find('.dropdown-hover').stop(true, true).delay(100).fadeOut(200);
      });
    } else {
        $('ul.navbar-main li ul.dropdown-menu').removeClass('dropdown-hover');
    }
});

// Remove Search text in smaller browser windows
jQuery(document).ready(function(){
    if (jQuery(window).width() < 1050) {
        $('#search-label').text('');
    } else {
        $('#search-label').text('Search');
    }
});
jQuery(window).resize(function () {
    if (jQuery(window).width() < 1050) {
        $('#search-label').text('');
    } else {
        $('#search-label').text('Search');
    }
});

// Show placeholder text in Google Search
setTimeout( function() {
    $(".gsc-input").attr("placeholder", "search docs.openstack.org");
}, 1000 );