Title: Google Chrome [Violation] Avoid using document.write()
Last modified: November 8, 2017

---

# Google Chrome [Violation] Avoid using document.write()

 *  [sohelkhalifa](https://wordpress.org/support/users/sohelkhalifa/)
 * (@sohelkhalifa)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/google-chrome-violation-avoid-using-document-write/)
 * Hi,
    I have been using WP Quads for quite some time with no issues. Thanks for
   the wonderful plugin.
 * But for some days, all my ads using this plugin are stopped and chrome devtools
   is showing me this warning – `[Violation] Avoid using document.write().`
 * After some searching I ended up with this google post – [https://developers.google.com/web/updates/2016/08/removing-document-write](https://developers.google.com/web/updates/2016/08/removing-document-write)
 * I can’t understand what to do here to restore the ads. Please help.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fgoogle-chrome-violation-avoid-using-document-write%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘Google Chrome [Violation] Avoid using document.write()’ is closed to 
new replies.

 * ![](https://ps.w.org/quick-adsense-reloaded/assets/icon-256x256.png?rev=2369641)
 * [Quads Ads Manager for Google AdSense](https://wordpress.org/plugins/quick-adsense-reloaded/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/quick-adsense-reloaded/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/quick-adsense-reloaded/)
 * [Active Topics](https://wordpress.org/support/plugin/quick-adsense-reloaded/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/quick-adsense-reloaded/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/quick-adsense-reloaded/reviews/)

 * 0 replies
 * 1 participant
 * Last activity: [8 years, 7 months ago](https://wordpress.org/support/topic/google-chrome-violation-avoid-using-document-write/)
 * Status: not resolved