This file is indexed.

/usr/share/xul-ext/all-in-one-sidebar/content/console.js is in xul-ext-all-in-one-sidebar 0.7.23-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
58
59
60
61
62
63
64
65
66
67
68
69
// Window-Element ermitteln
var conWindow;
if(document.getElementById('JSConsoleWindow')) conWindow = document.getElementById('JSConsoleWindow');
if(document.getElementById('Console2Window')) conWindow = document.getElementById('Console2Window');


/*
    Initialisierung
        => Aufruf durch onload in console.xul
*/
function aios_init() {

    try {
        var enable_layout = AiOS_HELPER.prefBranchAiOS.getBoolPref("co.layout");
        var enable_layoutall = AiOS_HELPER.prefBranchAiOS.getBoolPref("co.layoutall");

        var aios_inSidebar = (top.document.getElementById('sidebar-box')) ? true : false;
    }
    catch(e) { }

    // Menueleiste unter Mac OS X ausblenden
    aios_hideMacMenubar();

    // fuer CSS-Zwecke speichern
    AiOS_HELPER.rememberAppInfo( conWindow );

    // Layout-Optimierungen aktivieren?
    if((enable_layout && aios_inSidebar) || enable_layoutall) aios_sidebarLayout();

    // Tastaturkuerzel entfernen, um nicht die des Hauptbrowsers zu blockieren
    if(aios_inSidebar) aios_removeAccesskeys();
}


/*
    aktiviert das an die Sidebar angepasste Layout
        => Aufruf durch aios_init()
*/
function aios_sidebarLayout() {

    aios_addCSS("console.css", conWindow);

    // Fx-Error-Console
    if(conWindow.id == "JSConsoleWindow") {
        // Spacer erzeugen und einfuegen
        var new_spacer = document.createElement("spacer");
        new_spacer.setAttribute("flex", 1);
        var theToolbar = document.getElementById('ToolbarMode');
        theToolbar.insertBefore(new_spacer, theToolbar.childNodes[theToolbar.childNodes.length - 2]);

        // Toolbarbuttons mit Tooltip
        if(document.getElementById("ToolbarMode")) {
            var tbChilds = document.getElementById("ToolbarMode").childNodes;
            for(var i = 0; i < tbChilds.length; i++) {
                if(tbChilds[i].tagName == "toolbarbutton") tbChilds[i].setAttribute('tooltiptext', tbChilds[i].getAttribute('label'));
            }
        }

        // Label der Buttons unsichtbar machen => nur wenn es Icons gibt
        var cStyle = document.defaultView.getComputedStyle(document.getElementById('Console:modeAll'), '');
    }
    else if (conWindow.id == "Console2Window") {
        var cStyle = document.defaultView.getComputedStyle(document.getElementById('item_modeAll'), '');
    }

    if(cStyle && cStyle.listStyleImage && cStyle.listStyleImage != "none") {
        if(document.getElementById('ToolbarMode')) document.getElementById('ToolbarMode').setAttribute("hideLabel", true);
    }
}