Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
frutality opened this issue Dec 25, 2013 · 3 comments
Open

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

frutality opened this issue Dec 25, 2013 · 3 comments

Comments

@frutality
Copy link

Добрый день.

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

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

@dimikot
Copy link
Owner

dimikot commented Jan 14, 2014

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

@frutality
Copy link
Author

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.

@dimikot
Copy link
Owner

dimikot commented Jan 22, 2014

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants