bigvtokyo / grabthemall

Automatically exported from code.google.com/p/grabthemall
1 stars 0 forks source link

New javascript waiting policy could be smarter #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The current implementation to wait for javascript only waits a few seconds
after the page is marked as "loaded" by your older code. If you just remove
the condition that will not reset the timer if the page is marked as loaded
already, you will wait for javascript modifications anyway, you don't even
need a special event to wait for it. i attached my modified version...
unfortunately it's not really a patch for your code because i modified it
also elsewhere (i made grabthemall start automatically and close firefox
automatically at the end, i need this for some automated screenshot fetching).

Original issue reported on code.google.com by r.peli...@gmail.com on 2 Apr 2009 at 11:22

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago

Original comment by rzela...@gmail.com on 24 Jan 2012 at 4:21

GoogleCodeExporter commented 9 years ago
I completely re factored waiting policies in GrabThemAll. Now it should work 
much better.

Original comment by rzela...@gmail.com on 12 Apr 2013 at 7:46