Closed ghost closed 10 years ago
Thanks man I just replied to your addon review.
This issue is two issues in one.
In reply to question A and B: You want this feature because you are running profilist out of portable firefox correct? Profilist uses the same profiles.ini that Firefox uses, so its probably a bug. So i'll look into this. Question though: If you open the profile manager of firefox in portable installation, which profiles.ini file does that use? D: \ firefox \ profiles \
is also the default profile directory for the portable installation correct? I think once I get profilist to support portable installations it will fix this.
To set real custom paths for profiles, meaning not the default profile directory of firefox installation, that is another issue, its an enhancement that i need to add.
http://www.huwuku.cn/attachment/firefox-images/20140506/66991399357291.jpg
http://www.huwuku.cn/attachment/firefox-images/20140506/56021399357291.jpg
Download portable launcher:http://www.huwuku.cn/attachment/firefox-file/20140506/13993575183752.zip
My DIY version:http://bbs.kafan.cn/thread-1700621-1-1.html
The above information gives you a reference, you can look forward to faster iterations, improvement, thank you
Currently in use is normal, but I hope prifiles.ini documents generated inside my portable directory (generate here D: \ Program Files (x86) \ Firefox\profiles.ini), rather than the system inside appdata directory (Not here C: \ user \ KingTung \ AppData \ Roaming \ Mozilla \ Firefox\profiles.ini), Operating system: win8.1
Hey man the two image links are broken. Thanks I'll download portable and work on this.
Hey @kingtung this is noit from my other account.
I worked on adding portable compatability, please test and let me know how it works out.
Well, as you said, I do it, if there are problems, back to you, thank you for your help
The above link is restored, you can now open
Thanks @kingtung please let me know if there are no problems too. That would be great so then I can bring over the changes to release branch.
I have made some changes and now has normal use, I modified the bootstrap.js file, if not modified, it is not working http://bbs.kafan.cn/forum.php?mod=redirect&goto=findpost&ptid=1700621&pid=31281078
Thank you very much man for your super support! i will check it out right away and get back to you. do you have any skype or chat program?
In bootstrap.js file,
var customCreatePath = 0; / / 'C: \ \ Users \ \ 3K2KYC1 \ \ Desktop \ \ FirefoxPortable \ \ Data';
What is the role?
Hey man can you please copy and paste the sourcecode here, i cant copy it without getting weird spacing. I can't figure out how to register for site and quote your reply so i can copy it, as it's in different language.
Or better then copy, can you please fork my patch-3 and then update bootstrap.js there
That line is just to create the global var. I could simply do var customCreatePath;
So excited, it would be easier to communicate using skype
A few years ago, I already have skype account, but rarely use the most recent year, wait a bit, I now install skype,My skype id:china-kingtung
Wait for me a few minutes
Wow a sincere thank you, you are using a translator to talk to me. You are very great to make that effort!
Haha, you are also the developers will be very hard, I was with you, willing to serve you, I have installed SKYPE, what is your ID?
Hey man please help me by running this test:
Shift + F4
this will open the scratchpadEnvironment
menu and set it to Browser
Then copy and paste this into scratchpad:
var DSP = Cc["@mozilla.org/file/directory_service;1"].getService(Ci.nsIProperties);
var keywords = [];
var str = [];
function doit() {
for (var i=0; i<keywords.length; i++) {
str.push('Keyword: "' + keywords[i] + '"');
try {
var methodFU = FileUtils.getFile(keywords[i], ['']);
str[str.length-1] += '|FU = "' + methodFU.path + '"';
} catch(ex) {
str[str.length-1] += '|FU = "' + ex.message + '"';
}
try {
var methodDS = DSP.get(keywords[i], Ci.nsIFile);
str[str.length-1] += '|DS = "' + methodDS.path + '"';
} catch(ex) {
str[str.length-1] += '|DS = "' + ex.message + '"';
}
}
console.log(str.join('\n'));
}
var keywords = [
//http://mxr.mozilla.org/mozilla-central/source/xpcom/io/nsAppDirectoryServiceDefs.h
'AppRegF',
'AppRegD',
'DefRt',
'PrfDef',
'current',
'default',
'DefProfRt',
'DefProfLRt',
'ARes',
'AChrom',
'APlugns',
'SrchPlugns',
'AChromDL',
'APluginsDL',
'SrchPluginsDL',
'SHARED',
'PrefD',
'PrefF',
'MetroPrefF',
'PrefDL',
'ExtPrefDL',
'PrefDOverride',
'ProfD',
'ProfLD',
'UChrm',
'UsrSrchPlugns',
'LclSt',
'UPnls',
'UMimTyp',
'cachePDir',
'BMarks',
'DLoads',
'SrchF',
'XPIClnupD',
'indexedDBPDir',
'permissionDBPDir',
//http://mxr.mozilla.org/mozilla-central/source/xpcom/io/nsDirectoryServiceDefs.h
'Home',
'TmpD',
'CurWorkD',
'Home',
'Desk',
'CurProcD',
'XCurProcD',
'XpcomLib',
'GreD',
'SysD',
'Trsh',
'Strt',
'Shdwn',
'ApplMenu',
'CntlPnl',
'Exts',
'Fnts',
'Prfs',
'Docs',
'ISrch',
'DfltDwnld',
'ULibDir',
'UsrDsk',
'LocDsk',
'UsrApp',
'LocApp',
'UsrDocs',
'LocDocs',
'UsrIntrntPlgn',
'LoclIntrntPlgn',
'UsrFrmwrks',
'LocFrmwrks',
'UsrPrfs',
'LocPrfs',
'Pct',
'Mov',
'Music',
'IntrntSts',
'WinD',
'ProgF',
'DeskV',
'Progs',
'Cntls',
'Prnts',
'Pers',
'Favs',
'Strt',
'Rcnt',
'SndTo',
'Buckt',
'Strt',
'DeskP',
'Drivs',
'NetW',
'netH',
'Fnts',
'Tmpls',
'CmStrt',
'CmPrgs',
'CmStrt',
'CmDeskP',
'CmAppData',
'AppData',
'LocalAppData',
'PrntHd',
'CookD',
'DfltDwnld',
'Docs',
'Pict',
'Music',
'Vids',
'Locl',
'LibD',
'XDGDesk',
'XDGDocs',
'XDGDwnld',
'XDGMusic',
'XDGPict',
'XDGPubSh',
'XDGTempl',
'XDGVids',
'DfltDwnld',
'DrvD',
//http://mxr.mozilla.org/mozilla-release/source/toolkit/mozapps/update/nsUpdateService.js#76
'GreD',
'UpdRootD',
'XREExeF',
//http://mxr.mozilla.org/mozilla-release/source/toolkit/mozapps/update/tests/shared.js#55
'ProfDS',
'ProfD',
'GreD',
'XCurProcD',
'XREExeF',
'UpdRootD',
//http://mxr.mozilla.org/mozilla-release/source/xpcom/build/nsXULAppAPI.h
'UAppData',
'XREExtDL',
'XREExeF',
'started',
'ProfDS',
'started',
'ProfLDS',
'XRESysLExtPD',
'XRESysSExtPD',
'XREUSysExt',
'XREAppDist',
'UpdRootD',
'UpdArchD',
'OSUpdApplyToD'
];
doit();
Ctrl + Shift + J
this will open the browser consoleCtrl + R
this will run the scriptbrowse console
window that we opend and then copy and paste all the contents into here pleaseThanks!
POST http://translate.google.com/translate_a/t [HTTP/1.1 200 OK 323ms] "Keyword: "AppRegF"|FU = "C:\Users\KingTung\AppData\Roaming\Mozilla\Firefox\registry.dat"|DS = "C:\Users\KingTung\AppData\Roaming\Mozilla\Firefox\registry.dat" Keyword: "AppRegD"|FU = "C:\Users\KingTung\AppData\Roaming\Mozilla\Firefox"|DS = "C:\Users\KingTung\AppData\Roaming\Mozilla\Firefox" Keyword: "DefRt"|FU = "D:\Program Files (x86)\Firefox\Firefox\browser\defaults"|DS = "D:\Program Files (x86)\Firefox\Firefox\browser\defaults" Keyword: "PrfDef"|FU = "D:\Program Files (x86)\Firefox\Firefox\defaults\pref"|DS = "D:\Program Files (x86)\Firefox\Firefox\defaults\pref" Keyword: "current"|FU = "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIProperties.get]"|DS = "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIProperties.get]" Keyword: "default"|FU = "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIProperties.get]"|DS = "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIProperties.get]" Keyword: "DefProfRt"|FU = "C:"[…] Scratchpad/1:30 ReferenceError: reference to undefined property newScrollPos.scrollTop codemirror.js:1393 POST http://translate.google.com/translate_a/t [HTTP/1.1 200 OK 251ms] GET http://message.tieba.baidu.com/i/msg/get_data [HTTP/1.1 200 OK 84ms] GET http://message.tieba.baidu.com/i/msg/get_data [HTTP/1.1 200 OK 90ms] POST http://translate.google.com/translate_a/t [HTTP/1.1 200 OK 182ms] GET http://message.tieba.baidu.com/i/msg/get_data [HTTP/1.1 200 OK 119ms] POST http://translate.google.com/translate_a/t [HTTP/1.1 200 OK 280ms] GET http://message.tieba.baidu.com/i/msg/get_data [HTTP/1.1 200 OK 101ms] GET http://message.tieba.baidu.com/i/msg/get_data [HTTP/1.1 200 OK 87ms]
Hey man please test this version out: https://github.com/yajd/Profilist/tree/patch-4
It should work without any modification :)
I found a problem, I created the name of the input configuration is king, but the list is displayed as unnamed profile 1, the directory is actually created livze3mr.Unnamed Profile 1, these two places to display all of the name = king and Path = [...] \ king profile yet? Congratulations to you, in addition, I did not find any problems, very intelligent, I do not need to modify files.
Woohoo it works no modification!! Thanks man for all your help.
Yep it is intentionally made to create random string then Unnamed Profile ### because that's how firefox natively does it.
I have to run to work but will chat with you tonight to learn more about the problem you are talking about. :)
No problem, now 23:36, I will rest at about 00:36
Anything you need , do not hesitate to tell me
Hey man I sent you that protable version, did you get a chance to test it? If it works let me know so I can make a ProfilistPortable release on AMO.
Ok man I'm pretty sure it's working fine so I created ProfilistPortable repo and closed this issue from there. I'll release on AMO now.
https://github.com/Noitidart/ProfilistPortable/commit/d460d3778c293a0070a4bbe989fcd194425ec5f9
AMO release: ProfilistPortable
Thanks again @kingtung for all your help.
Great improvement, friend. Recently too busy, do not toss Firefox, and therefore failed to timely feedback to you, I'm sorry, greetings to you and your family.
Thank you! :)
A Question: how to customize the location profiles.ini file? For example, I want to profile.ini file generation to D: \ firefox \ profiles.ini B Question: how to customize the location profiles directory? For example, I want to generate profiles directory to D: \ firefox \ profiles \
This is a very useful Firefox extensions, I am ready to promote Firefox users in China, but the two issues above will be somewhat hindered because most Chinese users to use a portable configuration, profiles appdata directory is not in the catalog, thanks for all your help this is a very great expansion!