kustodian / extended-statusbar

Firefox addon which adds a statusbar with speed, percentage, time and loaded size (similar to Opera's one)
https://addons.mozilla.org/en-US/firefox/addon/extended-statusbar/
GNU General Public License v3.0
18 stars 6 forks source link

Firefox 47.0 seems to break the extension #43

Closed Priskvark closed 8 years ago

Priskvark commented 8 years ago

Extended statusbar does not show up any more in in Firefox 47.0

adoxa commented 8 years ago

Here's the patch, if you're able to apply it (it's for my older customized version).

diff --git a/bootstrap.js b/bootstrap.js
index 589ebe1..6b5d566 100644
--- a/bootstrap.js
+++ b/bootstrap.js
@@ -315,7 +315,7 @@ function loadIntoWindow(window)
        esbToolbar.setAttribute("customizable", "true");
        esbToolbar.setAttribute("context", "toolbar-context-menu");
        esbToolbar.setAttribute("hidden", "false");
-       esbToolbar.setAttribute("collapsed", window.Application.prefs.getValue("extensions.extendedstatusbar.collapsed", false));
+       esbToolbar.setAttribute("collapsed", Services.prefs.getBoolPref("extensions.extendedstatusbar.collapsed"));
        esbToolbar.setAttribute("persist", "hidden");
        esbToolbar.setAttribute("mode", "icons");
        esbToolbar.setAttribute("iconsize", "small");
kustodian commented 8 years ago

Thanks @adoxa. I'll check it tonight and apply it if it helps.

kustodian commented 8 years ago

Thanks for the patch. I just released the new version on addons.mozilla.org, it's on review. But you can install it from here https://addons.mozilla.org/en-US/firefox/addon/extended-statusbar/versions/?page=1#version-2.0.4