9951 explained code solutions for 126 technologies


chrome-extensionDefining public resources using web_accessible_resources


{
  "name": "My",
  // ...
  "web_accessible_resources": [
    {
      "resources": [ 'img.png' ],
      "matches": [ '*://*/*' ]
    }
   ],
  // ...
}ctrl + c
web_accessible_resources

definses a list of extension resources to be accessed through web

'img.png'

image file (placed inside extension folder) to be accessed through web

'*://*/*'

grant access for any website