This file is indexed.

/usr/share/hotot/js/ui.mention_tabs.js is in hotot-common 1:0.9.8.14-2.

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
if (typeof ui == 'undefined') var ui = {};
ui.MentionTabs = {

current_filter_name: null,

init:
function init() {
    var btns = new widget.RadioGroup('#mention_radio_group');
    btns.on_clicked = function (btn, event) {
        ui.MentionTabs.current_filter_name = $(btn).attr('href');
        ui.MentionTabs.apply_filter();    
    };
    btns.create();
    ui.MentionTabs.current_filter_name = '#all';
},

get_non_reply_tweets:
function get_non_reply_tweets(tweets) {
    return $($.grep(tweets, function (obj, i) {    
        return $(obj).attr('reply_name') != globals.myself.screen_name; 
    }));
},

get_reply_tweets:
function get_reply_tweets(tweets) {
    return $($.grep(tweets, function (obj, i) {    
        return $(obj).attr('reply_name') == globals.myself.screen_name; 
    }));
},

apply_filter:
function apply_filter() {
    switch (ui.MentionTabs.current_filter_name) {
    case '#all':
        $('#mentions_tweet_block .card:hidden:lt(20)').show();
    break;
    case '#reply':
        ui.MentionTabs.get_non_reply_tweets(
            $('#mentions_tweet_block .card:visible')
        ).hide();
        ui.MentionTabs.get_reply_tweets(
            $('#mentions_tweet_block .card:hidden')
        ).show();
    break;
    default:
    break;
    }
}

};