diff --git a/tarteaucitron.js b/tarteaucitron.js index bc6b1cc..0253ac5 100644 --- a/tarteaucitron.js +++ b/tarteaucitron.js @@ -668,13 +668,13 @@ var tarteaucitron = { setTimeout(function () { document.write = savedWrite; document.writeln = savedWriteln; - }, 60000); + }, 20000); tarteaucitron.makeAsync.getAndParse(url, id); }, "getAndParse": function (url, id) { "use strict"; - if (tarteaucitron.makeAsync.antiGhost > 10) { + if (tarteaucitron.makeAsync.antiGhost > 9) { tarteaucitron.makeAsync.antiGhost = 0; return; } @@ -685,7 +685,7 @@ var tarteaucitron = { tarteaucitron.makeAsync.execJS(id); }); }, - "execJS": function forceJsExec(id) { + "execJS": function (id) { /* not strict because third party scripts may have errors */ var i, scripts,