Jump to content

How to call the refresh function


Recommended Posts

We would like to delay loading the ads until the ad spot has scrolled into the browser window view. We want this for both performance and ad-sales purposes.

We dug around in the JS that the revive server sends to the site, and it appears to have a refresh function, that ultimately calls a detect function.  We tried running this command in our console:


But it did not do anything.  Can you clarify: What is the proper way to call this function from our code? If we know the proper way to call this function we could then easily write an event listener to call this function after we insert the ad blocks.  


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...