Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

fix(docs-app): get rid of document.write for inserting scripts #15396

Closed
@gkalpak

Description

@gkalpak

Since Chrome 54, scripts inserted via document.write generate a warning and might be blocked on slow networks (see this article for more info).

Since we are using document.write for scipts in our docs app, it might break on slow networks.

The warning message is:

A Parser-blocking, cross-origin script, https://ajax.googleapis.com/ajax/libs/angularjs/1.5.8/angular-min.js, is invoked via document.write. This may be blocked by the browser if the device has poor network connectivity.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions