Gaming Firefox 7 - New way of downloading files

Cyan

GBATemp's lurking knight
OP
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,649
Country
France
It seems Firefox 7.0.1 is now memorizing the last saved folder on a site-by-site basis.
I guess it's only for users with the option to always ask where to download the files, so if you set Firefox option to always download to your desktop or your download folder then you didn't notice the change.


Previously, Firefox 2 to 6 used a single setting to store the last saved folder path (browser.download.lastDir).
Now this setting is not used anymore, but my add-on is based on this setting.
The result is that my add-on (download content filtering) is not working anymore
frown.gif


Would anyone know a way to disable the site-by-site save path setting and go back to the old single path setting? any setting in about:config?



Here is what I've currently found about this new feature:
https://developer.mozilla.org/en/Firefox_7_...erience_changes (second line)
https://developer.mozilla.org/en/JavaScript...loadLastDir.jsm
resource://gre/modules/DownloadLastDir.jsm

My problem:
If I want to read and write path for the current URI, ... which URI it's based of? the file's host or the current website's tab URL?
How do I read the current URI? or aURI?
It's really badly documented
frown.gif


I wish there'd be a way to disable this "new super interesting" feature they are forcing on the users.
My add-on is now useless, I can't live without it
cry.gif
 

Nimbus

sudo /usr/bin make-me-a-coffee --nosugar --cream=1
Member
Joined
Nov 1, 2009
Messages
913
Trophies
0
Age
36
Location
Probably being lazy.
Website
Visit site
XP
311
Country
I think this is an awesome feature personally.

I love being able to download videos from youtube and not have to browse to my Videos folder again and again in Ubuntu to save it there.
 

Cyan

GBATemp's lurking knight
OP
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,649
Country
France
Thanks Rydian
smile.gif


Yeah, I can't force people to use an old version of Firefox.
I would like to know how to switch this feature off, or how to read/write the path myself.
I checked the source code, and currently it seems there's no way to disabled it.

I'll have to update the code. I hope I will find a way to update it quickly, there are already a lot of users using my add-on who switched to 7.0.1
(well, only 4000 users, but it's 4000 over 8000 total users, so half of them).


@Nimbus:
Well, I think you would have loved my add-on will love it now it's fixed! , as it allow you to select which folder to save your files according to filters based on the domain and downloaded filename.


Now, Firefox is forcing the download only based on website domain name, and not on filename/filetype/sub-domain/dynamic creation folder based on the filters/etc.
They should have implemented my add-on feature natively in Firefox instead!
evil.gif



Edit:
I think I found a way to edit/overwrite the path stored in memory on a URI basis.

I'm currently debugging it, but it seems to work fine again
biggrin.gif

Ahhh, I'm relieved!

I'll update my addon for everyone else this weekend
biggrin.gif
 
  • Like
Reactions: 1 person

liomajor

Well-Known Member
Member
Joined
Jun 10, 2008
Messages
1,468
Trophies
0
XP
1,373
Country
United States
Did anyone find a way to disable site-by-site without downgrading browser?

This feature is not smart, its just annoying.
 

Cyan

GBATemp's lurking knight
OP
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,649
Country
France
yes, install my addon, and don't set any filter.
Just set the option at the bottom of the preferences window>filter tab :
  • "use the last used folder".
    or
  • Use this default folder [xxxxxxxxx] (and select the one you want to always use as forced folder).
And it will act like Firefox page1>File browser> if you want to always save to Desktop/Download/or user defined folder whithout being prompt by the file explorer.
If you want to use a manual folder, set it to "set by filter".
screen_asf102-setbyfilters_en.png




Though, you will have to follow a mandatory requirement :
Set Firefox to always ask where to save this file type, or else ASF will not trigger.
read step1 & 3.
If the "what firefox need to do with this file" dialog is annoying, you can force the auto-accept. (options>page1>while downloading>Automatically accept the save dialog).


I managed to find a way to fix my add-on with the new firefox saving feature, it's still not officially released on mozilla but the beta version is working fine :)

http://asf.mangaheart.org
Look in download>beta menu.


and with some chance, you may find my add-on filtering feature interesting and use it to sort your download according to the filename or domain name :P
 

liomajor

Well-Known Member
Member
Joined
Jun 10, 2008
Messages
1,468
Trophies
0
XP
1,373
Country
United States
Hmm i don't think this will work in the way i'm used to.

I don't want to brag with any filters for filetypes or force a specific folder.

All i need is "use last folder" where i stored the files last time i did.

For the time beeing i downgraded back to FF 6.0.2.

Thx anyway.
 

Cyan

GBATemp's lurking knight
OP
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,649
Country
France
You should try it nevertheless, you don't have to create any filter.
Just try "save in the last used folder" in the main preference and that's all.
See if it fix your problem without changing anything (as I don't know how you are currently using your firefox, maybe it's already fine).


if you want to downgrade, 7.0.0 is fine, it was introduced in 7.0.1
At least, I don't remember 7.0.0 not working fine.

Maybe there will be a developer creating an add-on to disable this new feature.
Maybe they will add a user setting to select if you want it or not (as I think a lot of users are now pissed with this feature they are forcing upon us).
Maybe there will be nothing fixing it, try my add-on.
 

Nimbus

sudo /usr/bin make-me-a-coffee --nosugar --cream=1
Member
Joined
Nov 1, 2009
Messages
913
Trophies
0
Age
36
Location
Probably being lazy.
Website
Visit site
XP
311
Country
@Nimbus:
Well, I think you would have loved my add-on will love it now it's fixed! , as it allow you to select which folder to save your files according to filters based on the domain and downloaded filename.

I'll check it out sometime Cyan, it sounds useful.

Funny, I never thought you developed for Firefox before, I used to work with a Firefox Dev at my work before he "according to unverified sources" got cannzored.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: This movie rip so werid has 1080p quality but the audios ripped with movie theater audio quality