JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 21.12.2024, 13:42
StefanM's Avatar
StefanM StefanM is offline
JD Legend
 
Join Date: Oct 2020
Posts: 770
Default Was ist zu tun, damit JD FirefoxPortable als Browser verwendet?

JDownloader öffnet Links (z.B. mit "Open in browser") im Default Browser - so wie erwartet.
Ich möchte nun, dass stattdessen Firefox Portable verwendet wird.
Dazu kann ich den Default Browser in Windows11 auf Firefox setzen. Hier tritt aber ein Problem auf: Firefox Portable öffnet sich bei Klick auf JD's "Open in browser" mit einem neuen, leeren Profil.

Mit dem Umweg über eine Batchdatei kann ich erreichen, dass Firefox Portable tatsächlich mit dem zugehörigen Profil gestartet wird, wenn man die Batchdatei z.B. mit *.htm assoziiert.

Also, wenn ich eine *.htm-Datei mit Dopppelklick öffne.

Code:
@echo off
"C:\PortableApps\FirefoxPortable\FirefoxPortable.exe" -profile "C:\PortableApps\FirefoxPortable\Data\profile" %1
Ohne diesen Workaround würde Firefox Portable sich auch dann mit einem leeren Profil öffnen.


Win11 erlaubt es aber nicht in "Choose Defaults by Link Type" nach einer *.exe oder *.bat auf dem PC zu browsen. Auf diesem Weg kann ich also nicht erreichen, dass JDownloader den Firefox Portable mit dem zugehörigen Profil verwendet. Wenn ich Firefox Portable über diese Einstellung in Win11 auswähle, öffnet sich bei Klick im JD auf "Open in Browser" ein Firefox Portable mit leerem, jungfräulichem Profil.


Nun möchte ich JDownloader dazu bringen, dass auch er bei Klick auf "Open in Browser" meine Batchdatei verwendet, die ich bei Bedarf auch in eine *.exe konvertieren kann.

ChatGPT schreibt dazu:

Open JDownloader.
Go to Settings → Advanced Settings.
Search for browser or http.
Find the entry that specifies the default browser path.
Replace it with:

C:\Path\To\FirefoxLauncher.bat

Save the settings and restart JDownloader.

Bitte um Hilfe, denn was ChatGPT schreibt, finde ich nicht.
Reply With Quote
  #2  
Old 21.12.2024, 15:06
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,665
Default

https://board.jdownloader.org/showpo...28&postcount=2
Reply With Quote
  #3  
Old 21.12.2024, 15:45
StefanM's Avatar
StefanM StefanM is offline
JD Legend
 
Join Date: Oct 2020
Posts: 770
Default

Quote:
Originally Posted by mgpai View Post
**External links are only visible to Support Staff**...
Thanks, but this refers to the browser being used for captcha solver.

I'm referring the GUI command "Open in browser" which is available for links in Downloads-window and LinkGrabber-window.

Is there a solution for this as well?
Found it thanks to mgpai.

Last edited by StefanM; 21.12.2024 at 16:09.
Reply With Quote
  #4  
Old 21.12.2024, 16:07
StefanM's Avatar
StefanM StefanM is offline
JD Legend
 
Join Date: Oct 2020
Posts: 770
Default

Quote:
Originally Posted by StefanM View Post
Thanks, but this refers to the browser being used for captcha solver.

I'm referring the GUI command "Open in browser" which is available for links in Downloads-window and LinkGrabber-window.

Is there a solution for this as well?
Found it!

I have to edit the command line in

GeneralSettings: Browser Command Line

The default is:

Code:
[
 "rundll32.exe",
 "url.dll,FileProtocolHandler",
 "%s"
]
And I have to change it to

Code:
[
 "C:\\PortableApps\\FirefoxPortable\\FirefoxPortable.exe",
 "%s"
]
Reply With Quote
  #5  
Old 21.12.2024, 16:07
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,665
Default

Quote:
Originally Posted by StefanM View Post
Thanks, but this refers to the browser being used for captcha solver.

I'm referring the GUI command "Open in browser" which is available for links in Downloads-window and LinkGrabber-window.

Is there a solution for this as well?
Code:
settings > advanced settings > GeneralSettings.browsercommandline

Same commandline format should work for all browsers.
Reply With Quote
  #6  
Old 21.12.2024, 16:10
StefanM's Avatar
StefanM StefanM is offline
JD Legend
 
Join Date: Oct 2020
Posts: 770
Default

Quote:
Originally Posted by mgpai View Post
Code:
settings > advanced settings > GeneralSettings.browsercommandline

Same commandline format should work for all browsers.
We wrote in parallel...
Reply With Quote
  #7  
Old 22.12.2024, 01:06
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 81,844
Default

@mgpai: Thanks for the help
__________________
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 05:15.
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 - 2025, Jelsoft Enterprises Ltd.