JavaScript / Violations / document.write()

Posted in: Newspaper
Post count: 74

In Google’s Chrome developer tools, in the Console, I see violations relating to the use of document.write().


Avoid using document.write(). https://developers.google.com/web/updates/2016/08/removing-document-write

Example page: https://www.wheredoitakethekids.com/places/rob-skate-academy/

Would it be possible to have these violations fixed for the next release of the theme?

  • This topic was modified 5 years by kevinsikora. Reason: Added the violation that's seen in the Console area of Google Chrome's developer tools
Post count: 35449

Hi,
Indeed our theme is using document.write is using by our theme here -> https://i.imgur.com/h97gIIx.png I made a note to our developers to see if they can find a you to replace the document.write() from theme or at list for setting JavaScript.
Thank you!

Post count: 74

I still see these errors when my site loads. Has there been any progress with this?

Post count: 35449

Hi, this problem should be solved in the coming theme update.
Thank you!

Post count: 74

When is the new update scheduled to be released?

Post count: 27744

Hello,

We can’t say an exact date, but we hope it will be as soon as possible.

Thank you for your understanding!

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newspaper’ is closed to new topics and replies.