Skip to content

[Violation] Avoid using document.write() #1600

Closed
@bramjoosten

Description

@bramjoosten

Issue details

Chrome nags about using document.write(), it's a bad practice and may break in the future.

Steps to reproduce/test case

  1. open chrome devtools
  2. set error reporting to verbose.

Please specify which version of Browsersync, node and npm you're running

  • Browsersync [2.24.7]
  • Node [8.9.4]
  • Npm [5.6.0]

Affected platforms

  • linux
  • windows
  • OS X
  • freebsd
  • solaris
  • other (please specify which)

Browsersync use-case

  • API
  • Gulp
  • Grunt
  • CLI

for all other use-cases, (gulp, grunt etc), please show us exactly how you're using Browsersync

const browserSync = BrowserSync.create();

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions