diff options
-rw-r--r-- | netsniff.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/netsniff.js b/netsniff.js index 78dcdf2..37d109f 100644 --- a/netsniff.js +++ b/netsniff.js @@ -1,4 +1,6 @@ // from http://stackoverflow.com/questions/16846506/phantomjs-timeout +"use strict"; + // stop after 20 sec ( add this before you request your webpage ) setTimeout(function() {phantom.exit();},20000); |