XF 1.4 XenForo.serverTimeInfo.now injected into Ad Code

arn

Well-known member
One of our ads isn't rendering correctly, due to what seems like Xenforo manipulating the DOM after rendering.

You can see "XenForo.serverTimeInfo.now" code being injected which is messing it up. How can I prevent this from happening?
 

Attachments

  • macrumors.webp
    macrumors.webp
    123.4 KB · Views: 29
The way the code is written -- XenForo.serverTimeInfo.now = 1234; ... -- isn't how it shows up in XF. We set it up in using object syntax. Then, there are only 3 lines in the JS that actually touch it and they just read the value back.

I have to conclude it's not actually XF itself that is doing that.
 
Back
Top Bottom