Knowledgebase:
JD opens my browser to display captchas
Posted by Jay Downloader, Last modified by Jiaz on 28 April 2017 11:42 AM

Why does JD open my browser?

Some captcha types require a browser environment (Javáscript, Cookies, Flash, ...) to get solved. Others are much easier to solve if we use the browser. There are two different ways of using the browser:

1) Browser Loop

Browser loop is been used for ReCaptchaV1.

Browser Loop approach opens a browser window or tab, and closes it a few seconds later without any user interaction required. The captcha will then be shown in JDownloader standard captcha dialog.

Browser Loop can be avoided with setting up 'google.com (recapthca)' account in Settings > Account Manager. This account provides the required information in order to recieve biased ReCaptchaV1 image.

else

You can disable Browser Loop in Settings >Advanced Options > BrowserCaptchaSolver: Browser Loop. Just be aware that if you disable Browser Loop and do not provide a google.com (recaptcha) in JD Account Manager, RecaptchaV1 images will harder to solve!

 

2) Browser Solver

Browser Solver provides support for captcha types that require Javascript, Cookies, Flash, etc. It's currently used for ReCaptchaV2, SweetCaptcha, AreYouAHumanCaptcha, and ConfidentCaptcha.

Browser Solver approach will show the captcha in browser tab or window. After solving, the browser window will close itself, and JD will continue.

Settings > Captchas

 

Advanced Options

There are several Advanced Options (Settings->Advanced Settings) to customize the browser solver/loop:

  1. Enabled: This will enable/disable the browser solver
  2. Local HTTP Port: The http port of the local webserver
  3. Blacklist Entries: Define which hoster/plugins shall not use the browser solver.  
    Example: [ "uploaded.to-recaptcha" ].
    Note: We strongly recommend to modifiy this value in [Settings->Captcha->Settings Column]
    Note: The format is a json array. 
    * Do not forget the leading and trailing chars: [ and ] 
    * These special characters must be escaped: \ and " --> \ to \\ and " to \"
    * Each parameter in your commandline should be wrapped by " and seperated by a ,
    * Use %s as wildcard for the url
    * Do not press enter to confirm changes. Just unfocus the field by clicking somewhere else.

  4. Auto Open Browser: Should JD open the browser for you, or do you prefer to click a button to open it?
  5. Auto Click: JD can help you to solve some captchas in the browser, by simulating clicks and text inputs in the browser window.
  6. Wait For Map: Is required for the solver priority.  
    Example: {"imagetyperz" : 60000,"dbc" : 60000,"9kw" : 120000,"myjd" : 60000,"jac" : 32000,"cb" : 120000} 
    Note: We strongly recommend to modifiy this value in [Settings->Captcha->Timeouts Column]
    Note: The format is a json object. 
    * Do not forget the leading and trailing chars: { and } 
    * These special characters must be escaped: \ and " --> \ to \\ and " to \"
    * Each parameter in your commandline should be wrapped by " and seperated by a ,
    * Use %s as wildcard for the url
    * Do not press enter to confirm changes. Just unfocus the field by clicking somewhere else.
  7. Black White Listing: Enable/Disable the Blacklist or Whitelist Entries.
  8. Whitelist Entries:  Define which hoster/plugins shall ignore the Blacklist Entries the browser solver.  
    Example: [ "uploaded.to-recaptcha" ]. 
    Note: We strongly recommend to modifiy this value in [Settings->Captcha->Settings Column
    Note: The format is a json array. 
    * Do not forget the leading and trailing chars: [ and ] 
    * These special characters must be escaped: \ and " --> \ to \\ and " to \"
    * Each parameter in your commandline should be wrapped by " and seperated by a ,
    * Use %s as wildcard for the url
    * Do not press enter to confirm changes. Just unfocus the field by clicking somewhere else.
  9. Browser Commandline: We recommend to use the default browser that you use every day. This will guarantee the easiest captchas. If you want to use a different browser anyway, you can set up an command line here.
    Example: [ "C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe", "-app=%s" ] 
    Note: The format is a json array.
    * Do not forget the leading and trailing chars: [ and ]
    * These special characters must be escaped: \ and " --> \ to \\ and " to \"
    * Each parameter in your commandline should be wrapped by " and seperated by a ,
    * Use %s as wildcard for the url
    * Do not press enter to confirm changes. Just unfocus the field by clicking somewhere else.
  10. Browser Loop: Enable/Disable the browser loop

 

Troubleshooting

The browser approach is pretty new and there are still some problems to solve. Please do not hesitate to contact our support.

 

Most browser captchas require JavaScript. Please make sure that NoScript and Adblock are configured correctly to not block Browser Solver tasks.

Disable NoScript for http://127.0.0.1/

Disable AdBlock for http://127.0.0.1/, this may not be required

 

The Browser Tabs do not get closed in Firefox

You can enable auto close by javascript.

  1. Go to the page "about:config"
  2. Search for "dom.allow_scripts_to_close_windows"
  3. Switch to true



Attachments 
 
 jd2-settings-captchas-in_browser.png (155.92 KB)
(673 vote(s))
Helpful
Not helpful