Inspect View as No Active Views in Chrome Extension

1,086 views
Skip to first unread message

Jenifer Rajendren

unread,
Jun 6, 2022, 2:30:05 PM6/6/22
to Chromium Extensions
Hi,

In a specific environment , inspect view of our chrome extension has no background page to inspect instead having "No Active Views" , what is the reason? 
Is it due to any security restriction?

wOxxOm

unread,
Jun 7, 2022, 10:19:58 AM6/7/22
to Chromium Extensions, jenifer....@assima.net
It means there's no background script and no open pages (views) or it's a bug in Chrome. In the former case, either your manifest.json doesn't properly declare the background script or it's a known bug in Chrome that causes the service worker to lose registration, in which case you can reinstall your extension.

Oliver Dunk

unread,
Jun 7, 2022, 11:03:39 AM6/7/22
to Chromium Extensions, wOxxOm, jenifer....@assima.net
This can also happen if the extension is installed by enterprise policy, because the page filters out non-inspectable views and the default behaviour for enterprise extensions is to disable developer tools. You can check if this is the case at chrome://policy.

If it is, setting the developer tools policy option (`DeveloperToolsDisabled` I believe) to false explicitly restores these options.
Reply all
Reply to author
Forward
0 new messages