Chrome plugin - permission chrome-devtools: // * / * unknown or URL pattern incorrect

I support one extension for google chrome and I receive complaints from random users saying that it just stops working.

The error message in the "Extensions" section:

Chrome plugin - Permission chrome-devtools://*/* is unknown or URL pattern is malformed 

This does not seem to be a very popular problem - I could not find any trace. The My Permissions section of the manifest file is as follows:

  "permissions": [ "tabs", "http://*/*", "https://*/*", "chrome-devtools://*/*" ] 

And it works great for most people.

+4
source share
1 answer

If you look at the documentation , you will find that only valid schemas are: '*' | 'http' | 'https' | 'file' | 'ftp' | 'chrome-extension' '*' | 'http' | 'https' | 'file' | 'ftp' | 'chrome-extension' '*' | 'http' | 'https' | 'file' | 'ftp' | 'chrome-extension' . I assume your recent problems are related to this issue .

+2
source

Source: https://habr.com/ru/post/1436034/


All Articles