10-19-2012, 12:34 PM
Gintaras Wrote:Can get URL only of loaded pages. New Firefox versions don't load pages in invisible tabs at startup.
Yes I fully understand that. I just want the FirefoxGetTabs be able to skip the tab that contains no DOCUMENT property in iteration, so it does not
appears in list, and without generating any error. I don't have the use of empty webpage.
Quote:rep
get id of this pane, and find in ap
fn.FromAcc(a); _s=fn.Attribute("id")
for(i 0 ap.len) if(ap[i]=_s) break
if(i=names.len) goto next2 ;;should never happen
get DOCUMENT object and url
Acc aa; a.Navigate("fi2" aa)
if(&urls) urls[i]=aa.Value
if(&docObjects) docObjects[i]=aa
next2
a.Navigate("n"); err break
ret r
In this, if document not present, then I have logically a "object not found" error, terminating the routine (as asked by the code, no problem here).
I'd like to continue iteration of through other tabs and discard the empty one.
Possible?
