gatsby-plugin-disqus icon indicating copy to clipboard operation
gatsby-plugin-disqus copied to clipboard

Violation avoid using document.write when using Disqus component

Open mkelley33 opened this issue 1 year ago • 0 comments

Describe the bug
Whenever the Disqus component is used my page template, the console reports the same error twice:

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

To Reproduce
Steps to reproduce the behavior:

  1. Put Disqus component in a page
  2. Load the page
  3. Open console on Chrome (Version 114.0.5735.198 (Official Build) (x86_64))

Expected behavior
I shouldn't see the above error in the console in my browser

Screenshots
gatsby-plugin-error

Specifications:

  • OS: macOS Monterrey 12.6 (21G115)
  • Package version: "gatsby-plugin-disqus": "^1.2.6",
  • Gatsby version: "gatsby": "~5.11.0",

mkelley33 avatar Jul 20 '23 16:07 mkelley33