[EXT] Download Status Bar
-
- Posts: 15
- Joined: May 17th, 2015, 5:25 pm
Re: [EXT] Download Status Bar
Hello:
Can you please advise -- how I may export my settings for this add-on?
I find the add-on key for me, so I would like to have a backup, in case i have to rebuild my fx profile.
thankyou
Can you please advise -- how I may export my settings for this add-on?
I find the add-on key for me, so I would like to have a backup, in case i have to rebuild my fx profile.
thankyou
-
- Posts: 95
- Joined: January 25th, 2005, 8:36 am
- Location: Germany
Re: [EXT] Download Status Bar
Regarding current problems with nightly. This is caused by this bug:
https://bugzilla.mozilla.org/show_bug.cgi?id=1220564
change code in line 3577 of bootstrap.js in this way:
https://bugzilla.mozilla.org/show_bug.cgi?id=1220564
change code in line 3577 of bootstrap.js in this way:
Code: Select all
//var s = [toHexString(hash.charCodeAt(i)) for (i in hash)].join("");
var s = Array.from(hash, (c, i) => toHexString(hash.charCodeAt(i))).join("");
- joeg
- Posts: 2616
- Joined: October 10th, 2003, 12:37 pm
- Location: How can you be in two places at once, when you're not anywhere at all?
Re: [EXT] Download Status Bar
Wow! It really works. Thanks very much.The_Rave wrote:Regarding current problems with nightly. This is caused by this bug:
https://bugzilla.mozilla.org/show_bug.cgi?id=1220564
change code in line 3577 of bootstrap.js in this way:
Code: Select all
//var s = [toHexString(hash.charCodeAt(i)) for (i in hash)].join(""); var s = Array.from(hash, (c, i) => toHexString(hash.charCodeAt(i))).join("");
Although every day is Judgment Day, I nonetheless feel like a room without a roof.
-
- Posts: 3
- Joined: April 11th, 2014, 10:55 pm
Re: [EXT] Download Status Bar
It stop working for new Palemoon 26 browser.
Is there a fix or update please.
Thanks
Is there a fix or update please.
Thanks
- joeg
- Posts: 2616
- Joined: October 10th, 2003, 12:37 pm
- Location: How can you be in two places at once, when you're not anywhere at all?
Re: [EXT] Download Status Bar
How about trying The_Rave's fix?omji wrote:It stop working for new Palemoon 26 browser.
Is there a fix or update please.
Thanks
Although every day is Judgment Day, I nonetheless feel like a room without a roof.
-
- Posts: 1
- Joined: January 26th, 2016, 2:30 pm
Re: [EXT] Download Status Bar
Where is located this "bootstrap.js"?
- HughHyatt
- Posts: 41
- Joined: July 16th, 2003, 6:04 am
- Location: Metro Phila.
- Contact:
Re: [EXT] Download Status Bar
I have 8 files in my home directory named "bootstrap.js". Five are in subdirectories of ~/.mozilla/firefox/, but none has more than 1,473 lines. Furthermore, I can't find anything relevant on the referenced page; what am I missing?The_Rave wrote:Regarding current problems with nightly. This is caused by this bug:
https://bugzilla.mozilla.org/show_bug.cgi?id=1220564
change code in line 3577 of bootstrap.js in this way:
Code: Select all
//var s = [toHexString(hash.charCodeAt(i)) for (i in hash)].join(""); var s = Array.from(hash, (c, i) => toHexString(hash.charCodeAt(i))).join("");
Use open source software; with no walls and fences, who needs Windows and Gates? — Luis Pinto
(Linux Mint 20.3 (una)/Win10) Firefox 107.0 (64-bit), Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz
(Linux Mint 20.3 (una)/Win10) Firefox 107.0 (64-bit), Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz
- joeg
- Posts: 2616
- Joined: October 10th, 2003, 12:37 pm
- Location: How can you be in two places at once, when you're not anywhere at all?
Re: [EXT] Download Status Bar
The "referenced page" is Greek to me, too.HughHyatt wrote:I have 8 files in my home directory named "bootstrap.js". Five are in subdirectories of ~/.mozilla/firefox/, but none has more than 1,473 lines. Furthermore, I can't find anything relevant on the referenced page; what am I missing?The_Rave wrote:Regarding current problems with nightly. This is caused by this bug:
https://bugzilla.mozilla.org/show_bug.cgi?id=1220564
change code in line 3577 of bootstrap.js in this way:
Code: Select all
//var s = [toHexString(hash.charCodeAt(i)) for (i in hash)].join(""); var s = Array.from(hash, (c, i) => toHexString(hash.charCodeAt(i))).join("");
As for "... 8 files in my home directory named 'bootstrap.js'", the point is that you have to find the specific bootstrap.js file for the Download Status Bar extension. On my Win7x64 machine, the extension ID is {6c28e999-e900-4635-a39d-b1ec90ba0c0f}.
And, just for the record, The_Rave's instructions are a tad misleading. He wrote
Code: Select all
//var s = [toHexString(hash.charCodeAt(i)) for (i in hash)].join("");
var s = Array.from(hash, (c, i) => toHexString(hash.charCodeAt(i))).join("");
//var s = [toHexString(hash.charCodeAt(i)) for (i in hash)].join("");
//var s = Array.from(hash, (c, i) => toHexString(hash.charCodeAt(i))).join("");
That is, you have to replace everything in red with everything in green, or - said in another way - you have to change everything to the right of the "=".
Last edited by joeg on January 26th, 2016, 3:50 pm, edited 1 time in total.
Although every day is Judgment Day, I nonetheless feel like a room without a roof.
- joeg
- Posts: 2616
- Joined: October 10th, 2003, 12:37 pm
- Location: How can you be in two places at once, when you're not anywhere at all?
Re: [EXT] Download Status Bar
Please see my reply to HughHyatt.fauxreaper wrote:Where is located this "bootstrap.js"?
Although every day is Judgment Day, I nonetheless feel like a room without a roof.
-
- Posts: 1
- Joined: January 26th, 2016, 11:33 pm
Re: [EXT] Download Status Bar
Hello! This was also reported in Pale Moon forum. The reason why the add-on now fails with Pale Moon 26.0.0 is because the add-on checks the Downloads API compatibility using version number 26. Now that Pale Moon has reached the version 26, it sets the "ff26above" flag to true and tries to use the new incompatible API calls with PM.omji wrote:It stop working for new Palemoon 26 browser.
Is there a fix or update please.
Thanks
Here is a small patch to fix it:
Code: Select all
diff --git a/bootstrap.js b/bootstrap.js
index 50072c0..87cb47e 100755
--- a/bootstrap.js
+++ b/bootstrap.js
@@ -1388,6 +1388,12 @@ DownloadBarComponent.prototype = {
this.windowtype = "mail:3pane";
DownloadBar.windowtype = "mail:3pane";
break;
+ case "Pale Moon":
+ this.ff26above=false;
+ DownloadBar.ff26above=false;
+ this.windowtype = "navigator:browser";
+ DownloadBar.windowtype = "navigator:browser";
+ break;
case "Fennec": break;
default: //"Firefox", "SeaMonkey"
}
- joeg
- Posts: 2616
- Joined: October 10th, 2003, 12:37 pm
- Location: How can you be in two places at once, when you're not anywhere at all?
Re: [EXT] Download Status Bar
Thanks. I don't use PaleMoon, but at least I've learned you can't just go around sticking code from one program into another, even if they're "related".jumba wrote: Here is a small patch to fix it:...
Although every day is Judgment Day, I nonetheless feel like a room without a roof.
-
- Posts: 3
- Joined: April 11th, 2014, 10:55 pm
Re: [EXT] Download Status Bar
Thanks ! It works.jumba wrote:Hello! This was also reported in Pale Moon forum. The reason why the add-on now fails with Pale Moon 26.0.0 is because the add-on checks the Downloads API compatibility using version number 26. Now that Pale Moon has reached the version 26, it sets the "ff26above" flag to true and tries to use the new incompatible API calls with PM.omji wrote:It stop working for new Palemoon 26 browser.
Is there a fix or update please.
Thanks
Here is a small patch to fix it:Code: Select all
diff --git a/bootstrap.js b/bootstrap.js index 50072c0..87cb47e 100755 --- a/bootstrap.js +++ b/bootstrap.js @@ -1388,6 +1388,12 @@ DownloadBarComponent.prototype = { this.windowtype = "mail:3pane"; DownloadBar.windowtype = "mail:3pane"; break; + case "Pale Moon": + this.ff26above=false; + DownloadBar.ff26above=false; + this.windowtype = "navigator:browser"; + DownloadBar.windowtype = "navigator:browser"; + break; case "Fennec": break; default: //"Firefox", "SeaMonkey" }
It would be good for users that someone makes forked extension Download status bar,
and post link in Palemoon extension page.
-
- Posts: 95
- Joined: January 25th, 2005, 8:36 am
- Location: Germany
Re: [EXT] Download Status Bar
No i wrote it as mentioned and i will not repeat the wrong interpretation. The old line is due the "//" a comment now and will be ignored by js interpreter. The 2nd line is the active code now.joeg wrote: He wroteCode: Select all
//var s = [toHexString(hash.charCodeAt(i)) for (i in hash)].join(""); var s = Array.from(hash, (c, i) => toHexString(hash.charCodeAt(i))).join("");
Every Nightly users should have basic skills about JS, knowledge about firefox profile path and meaning of files and folders in profile directory or should left files untouched or use only official builds. Backups of profile dir are mandatory before any changes of course.
- joeg
- Posts: 2616
- Joined: October 10th, 2003, 12:37 pm
- Location: How can you be in two places at once, when you're not anywhere at all?
Re: [EXT] Download Status Bar
I'm an English teacher by profession. I readily confess to not knowing much about computers.The_Rave wrote:Every Nightly users should have basic skills about JS, knowledge about firefox profile path and meaning of files and folders in profile directory or should left files untouched or use only official builds. Backups of profile dir are mandatory before any changes of course.
Even I, however, was able to get your fix to work, and I appreciate your help in fixing the extension.
As for the computer skills a Nightly user should have, I'll leave that to someone else. All I can say is that I've learned a lot about Fx over the years by simply using the Nightly, reading the posts to the various forums, and trying to apply what I've read.
In general, the forum members are polite and helpful, and I'm happy there are no "minimum computer knowledge entry requirements".
I repeat, thank you for your help in fixing Download Status Bar.
Although every day is Judgment Day, I nonetheless feel like a room without a roof.
-
- Posts: 95
- Joined: January 25th, 2005, 8:36 am
- Location: Germany
Re: [EXT] Download Status Bar
As mentioned before you was able to help yourself with some hints and experience and this is the minimum requirement in this case. All users of an official firefox build will have no problems at the moment. I'm think the developer of this addon will fix this, if its needed for the official firefox builds.