dklab_realplexor icon indicating copy to clipboard operation
dklab_realplexor copied to clipboard

Игнорируется JS_MAX_BOUNCES

Open frutality opened this issue 11 years ago • 3 comments

Добрый день.

Кажется, JS_MAX_BOUNCES в файле dklab_realplexor.conf просто игнорируется. Хотя, к примеру, WAIT_TIMEOUT учитывается.

Задача: увеличить JS_MAX_BOUNCES до 1000, к примеру.

frutality avatar Dec 25 '13 07:12 frutality

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?>,

dimikot avatar Jan 14 '14 11:01 dimikot

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.

frutality avatar Jan 14 '14 13:01 frutality

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?

dimikot avatar Jan 22 '14 22:01 dimikot