0

I tried to insert a console.log using background script in the current active tab. This is working properly for all tabs except new chrome tab.

Uncaught (in promise) Error: Cannot access a chrome:// URL even after adding "chrome://" in host_permissions in manifest file of version - 3

Vishnupriya
  • 148
  • 9

1 Answers1

1

You can't; Chrome extensions are not allowed to access or run on chrome:// urls or the Chrome Web Store for both security reasons and to prevent the alteration of the extensions management pages.

Samathingamajig
  • 11,839
  • 3
  • 12
  • 34