Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

DevTools failed to load source map, ERR_BLOCKED_BY_CLIENT

DevTools failed to load source map: Could not load content for chrome-extension://fheoggkfdfchfphceeifdbepaooicaho/sourceMap/chrome/scripts/iframe_form_check.map: System error: net::ERR_BLOCKED_BY_CLIENT

i am expecting a error free console, i wanna run js in browser...

like image 839
Ashn Soul Avatar asked Oct 20 '25 04:10

Ashn Soul


1 Answers

By default chrome extension's resources has no web accessible. If debug chrome-extension source map, You should add manifest declaration at manifest.json. Use the web_accessible_resources manifest property to declare which resources are exposed.

{
  "name": "hello world",
  "description": "",
  "version": "1.0",
  "manifest_version": 3,
  "web_accessible_resources": [
    {
        "resources": [ "sourceMap/*" ],
        "matches": [ "<all_urls>" ]
    }
  ]
}
like image 196
user3269713 Avatar answered Oct 23 '25 13:10

user3269713