JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 30.08.2019, 21:03
noone1
Guest
 
Posts: n/a
Default [JD2/myJD] set other than default browser to use myJD addon

Hello,

I am using different versions of firefox.

For basic browsing I still prefer to use my good ol' FF46 version with legacy addons and all its customisation but in order to use myJD I've installed it in FF64 and others.

Problem is none of the latest firefox versions are the default browser and then when myJD asks to open a tab, it opens it in the default browser, that is the old firefox (not compatible).

So, is it possible to tell JDownloader which particular browser to use when myJD is needed?

When I have time I will customize one of the latest version of FF, one day, I swear but meanwhile I would like to keep my old browser as default one but be able to use myJD with another one, is there a solution?

thank you
Reply With Quote
  #2  
Old 01.09.2019, 11:41
noone1
Guest
 
Posts: n/a
Default

PS:

to anyone who read/encounter same problem, beware!

first, I started with clean settings: one FF 45, full install, default browser, and one FF64, portable version with "-profile yyyy" command line.

setting new firefox quantum (64 here) as default browser effectively makes JD to communicate with myJD addon in FF64

**BUT**

then, setting back old firefox (45 here) as default browser didn't work, whole default profile has been modified and everything has been wiped out or reset, even copying a backup of old default profile didn't work!! I think it's because even if you use a portable firefox quantum with '-profile ...' command line enforce once you set it as default it modifies the 'xxxx.default' profile whatever profile name you force and probably something else in program files that should explain why even if you copies a profile backup it wont work!

Hopefully I finally reach to get back everything by mixing the old and new profile files in 'xxxx.default' folder but I think I've been very lucky because one profile is 'legacy' and the other is quantum, it found back all addons but had to reinstall them all, and had to import bookmark backup too, not talking about mess in cached icons... (only passwords, search plugins and custom styles where automatically found).

So (sorry for my english ), I definitely need a solution to tell JD what browser to use to find myJD independently of the browser being the windows default one or not... it's very risky to switch between versions as default browser!

(additional: with old firefox as default, JD tries to open myJD in a new tab while with quantum as default, JD opens a new browser window, not a tab... if this is of some interest)

Last edited by noone1; 01.09.2019 at 11:45.
Reply With Quote
  #3  
Old 01.09.2019, 11:46
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,533
Default

Post# 410829
Reply With Quote
  #4  
Old 01.09.2019, 11:52
noone1
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by mgpai View Post
**External links are only visible to Support Staff**...
script master, my master!! thank you very much ;-)

still problem I need to specify -profile string

[ "C:\\Program Files\\Mozilla Firefox 64 portable\\firefox.exe" -no-remote -profile "C:\\Users\\yourname\\AppData\\Roaming\\Mozilla\\Firefox\\Profiles\\fx2cqibd.FF64", "%s" ] -> not valid string

[ "C:\\Program Files\\Mozilla Firefox 64 portable\\firefox.exe -no-remote -profile C:\\Users\\yourname\\AppData\\Roaming\\Mozilla\\Firefox\\Profiles\\fx2cqibd.FF64", "%s" ] -> still opens old firefox

hopefully there is no space in profil path to limit escape char mess but I don't find the correct syntax...

Last edited by noone1; 01.09.2019 at 12:12.
Reply With Quote
  #5  
Old 01.09.2019, 13:28
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,533
Default

Code:
[ "C:\\Program Files\\Mozilla Firefox 64 portable\\firefox.exe", "-no-remote", "-profile", "C:\\Users\\yourname\\AppData\\Roaming\\Mozilla\\Firefox\\Profiles\\fx2cqibd.FF64", "%s" ]
Reply With Quote
  #6  
Old 01.09.2019, 14:38
noone1
Guest
 
Posts: n/a
Default

found about json array and was going close thank you ! but now it says:

need to close firefox quantum window if already running, then need to disable adblock (not needed before), then solve openload captcha, tab closes but then JD seems to not get the answer back and countdown starts, no download

...hum.. after a first 8min waiting time countdown, it started... will see for the next files...

then, I confirm: JD opens a first browser window (no other running) but firefox says a process is already running, it needs to close firefox. So it closes it, reopens a new one with 3 tab: one session restore, one for the openload captcha and one 'url not found' (some ads serve.popads.net). After I solved the captcha, the openload tab closes and JD starts 8min countdown and after that download begins (without asking for a new captcha). And same things start again after around 10files... well at least I can download the files ;-)

Last edited by noone1; 01.09.2019 at 16:25.
Reply With Quote
  #7  
Old 02.09.2019, 13:50
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,289
Default

thanks @mgpai for fast help!

@noone1: you might wanna add additional parameter to start new session, by default firefox will forward requests to running instance, for example "-new-instance"
__________________
JD-Dev & Server-Admin
Reply With Quote
  #8  
Old 02.09.2019, 13:54
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,289
Default

In case you still need help with this one, please just report back
__________________
JD-Dev & Server-Admin
Reply With Quote
  #9  
Old 02.09.2019, 19:40
noone1
Guest
 
Posts: n/a
Default

Ok! how can I mark as solved?

So, for the record:

(-no-remote = Do not accept or send remote commands; implies -new-instance)

In fact, when the JD popup window opens saying 'open browser' or 'cancel' I was clicking on 'open' BUT in fact a first instance was already being launched => don't clic 'open browser'!!

Plus, if I am already running my default firefox, -new-instance alone seems to not work.

Anyway, the correct command line args finally are : "-no-remote","-new-tab","-profile..." and behave as intended

I still need to disable adblockplus but for openload main url only, the others craps are still blocked, I didn't neither test other web-hosting services.

Thank you both
Reply With Quote
  #10  
Old 02.09.2019, 19:48
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,289
Default

Quote:
Originally Posted by noone1 View Post
Anyway, the correct command line args finally are : "-no-remote","-new-tab","-profile..." and behave as intended
Thanks for sharing! Maybe you could share the complete commandline/value so others can make use of it very easily
__________________
JD-Dev & Server-Admin
Reply With Quote
  #11  
Old 02.09.2019, 19:48
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,289
Default

Quote:
Originally Posted by noone1 View Post
Thank you both
You're welcome!
__________________
JD-Dev & Server-Admin
Reply With Quote
  #12  
Old 02.09.2019, 21:41
noone1
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by Jiaz View Post
Thanks for sharing! Maybe you could share the complete commandline/value so others can make use of it very easily
Code:
[ "C:\\Program Files\\Mozilla Firefox 64 portable\\firefox.exe", "-no-remote", "-new-tab", "-profile", "C:\\Users\\yourname\\AppData\\Roaming\\Mozilla\\Firefox\\Profiles\\fx2cqibd.FF64", "%s" ]
replace yourname by your name
Reply With Quote
  #13  
Old 03.09.2019, 11:51
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,289
Default

Thanks for sharing!
__________________
JD-Dev & Server-Admin
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 15:08.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.