⬆️ ⬇️

Optimization Extended Statusbar

What is the problem?



By default, the information content of the Fox statusbar is more than scant. It is expanded with the help of Extended Statusbar , which implements the functionality familiar to Opera users.



But here another problem arises - if other extensions wish to settle in the status bar, it will become extremely crowded. For example, during the page loading, when a progress bar appears there, the addresses of the links are not visible, if you hover the cursor on them. And this is despite the fact that I do not seem to have the smallest monitor.



The salvation lies in the fact that the extension interface is described by simple XML files that can be corrected and obtained the desired profit.



I have Windows XP, so I’m writing how to do it, except for the first step, in my opinion, the only thing that will differ from OS to OS.

')

Sleight of hand and no fraud

  1. In% APPDATA% / Mozilla / Firefox / Profiles /% profile% / extensions you need to find a folder with our extension. It has a long alphanumeric name, and something tells me that it is different for everyone (I could be wrong).



  2. In the specified folder we find the chrome directory and in it the file extendedstatusbar.jar, which can be opened even by WinRAR



  3. In the .jar file, we are interested in the localization file and the pattern of the string itself. Locale is found in locale / ru-RU, the file extendedstatusbar.properties and lines

    esb.document = Document:

    esb.images = Images:

    esb.loaded = Downloaded:

    esb.time = Time:

    esb.speed = Speed:



    I replaced them with

    esb.document = D:

    esb.images = I:

    esb.loaded = L:

    esb.time = T:

    esb.speed = S:



    Still, we do the tweak for ourselves, and we don’t suffer like a marasmus - don’t be afraid to forget what these mysterious letters mean.



  4. Now: /content/extendedstatusbar.xul

    In him

    ...

    <label id = "ESB_images_label" tooltiptext = "& esb.loadedimages;" width = "???" flex = "1" />

    ...

    <stack id = "ESB_loaded_working_box" tooltiptext = "& esb.dataloaded;" width = "???">

    ...

    <label id = "ESB_speed_label" tooltiptext = "& esb.avgspeed;" width = "???" flex = "1" />

    ...

    <label id = "ESB_time_label" tooltiptext = "& esb.time;" width = "???" flex = "1" />



    Instead of “???”, if my memory serves me, it was 120, but it hurts a lot, I think. I set myself much smaller, especially since if the size is not enough, the fields automatically expand to the content. A reasonable minimum, IMHO, - 60px.



  5. PROFIT :)

Total



If you know English and do not be lazy, you can even tweak this file a little more at will, not forgetting to close the browser before packing the files back, but it seems to be enough. At least I have savings there . :)

Source: https://habr.com/ru/post/62964/



All Articles