gatsby-plugin-disqus
gatsby-plugin-disqus copied to clipboard
Violation avoid using document.write when using Disqus component
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:
- Put Disqus component in a page
- Load the page
- 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
Specifications:
- OS: macOS Monterrey 12.6 (21G115)
- Package version: "gatsby-plugin-disqus": "^1.2.6",
- Gatsby version: "gatsby": "~5.11.0",