Basically what document write does is delay the main document on your web page for a long time. So yes, it is possible to say that this method is harmful for your web page. Also, for this reason, Chrome has decided not to run the parameters added with this command anymore.