dklab_realplexor
dklab_realplexor copied to clipboard
Игнорируется JS_MAX_BOUNCES
Добрый день.
Кажется, JS_MAX_BOUNCES в файле dklab_realplexor.conf просто игнорируется. Хотя, к примеру, WAIT_TIMEOUT учитывается.
Задача: увеличить JS_MAX_BOUNCES до 1000, к примеру.
How to reproduce the problem? Do you have an online site which could be used for that?
Please check what is in realplexor IFRAME when you increase the value up to 1000 - in the following place:
Dklab_Realplexor_Loader = {
// Maximum bounce count.
JS_MAX_BOUNCES: <what is here?>,
Sorry, problem was in my browser (I guess). It was caching IFRAME. JS_MAX_BOUNCES works correct.
But I found another error. When bounceCount == JS_MAX_BOUNCES, Firebug writes this: console[func] is not a function (line 83). And Realplexor stops.
What browser? Firefox?
Very strange: according to https://github.com/DmitryKoterov/dklab_realplexor/blob/master/dklab_realplexor.html#L69 this code is executed only is window.console exists. What contains variable "func" when the error happens?
BTW func is passed as "error" to _log() only at one place. So could you please remove it and leave the default value?