JDownloader Community - Appwork GmbH

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 21.03.2020, 17:48
mgpai mgpai is offline
Script Master
Join Date: Sep 2013
Posts: 1,520

Originally Posted by Heinz View Post
Is there any timeout possible for the getPage request?
Like if the page is not loaded after 10sec it should skip the request.
Connect/read timeout appears to be working fine. Had you tried this way?

var br = getBrowser();
var page = null;

try {
    page = br.getPage("http://www.google.de/");
} catch (e) {}


In the above example, you can see that iIf you use a very low timeout, it will return 'null'.
Reply With Quote

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:01.
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.