Injecting/removing CSS files via the content_scripts property in manifest.json requires two refreshes

Fixed, not yet flighted Issue #9850430


Nov 17, 2016
This issue is public.
Found in build #
Reported by 0 people

Sign in to watch or report this issue.

Steps to reproduce

Install the attached extension in Edge and Chrome
Navigate to a site where the body tag is modifiable (I went to


The CSS rule is applied at the same time as the injected script (i.e. the body’s background appears red and the “test” alert both appear)


The CSS rule is only applied after a second refresh, whereas the alert appears immediately on page load/refresh

Additional Information

The same behavior is observed when disabling the extension


1 attachment

Comments and activity

  • Microsoft Edge Team

    Changed Assigned To to “Scott S.”

    Changed Status to “Confirmed”

    Changed Assigned To from “Scott S.” to “Suyang Z.”

    Changed Assigned To from “Suyang Z.” to “Scott L.”

    Changed Status from “Confirmed” to “Fixed”

    Changed Status from “Fixed” to “Fixed, not yet flighted”

You need to sign in to your Microsoft account to add a comment.

Sign in