On injecting the script by using command
chrome.tabs.executeScript( null, {file: "dialog.js"});
throwing error
Unchecked runtime.lastError while running tabs.executeScript: Cannot access contents of url "chrome-devtools://devtools/bundled/inspector.html?&remoteBase=https://chrom…om/serve_file/@4fc366553993dd1524b47a280fed49d8ec28421e/&dockSide=undocked". Extension manifest must request permission to access this host. at onNativeMessage (chrome-extension://knldjmfmopnpolahpmmgbagdohdnhkik/background.js:31:5)
manifiest.json { "key": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDcBHwzDvyBQ6bDppkIs9MP4ksKqCMyXQ/A52JivHZKh4YO/9vJsT3oaYhSpDCE9RPocOEQvwsHsFReW2nUEc6OLLyoCFFxIb7KkLGsmfakkut/fFdNJYh0xOTbSN8YvLWcqph09XAY2Y/f0AL7vfO1cuCqtkMt8hFrBGWxDdf9CQIDAQAB", "name": "TerminusProLink", "version": "1.0", "manifest_version": 2, "description": "Link to ProLaw App", "background": { "scripts": [ "background.js", "background.html"] }, "content_scripts": [ { "all_frames": true, "js": [ "jquery-1.5.1.js", "jquery-ui-1.8.11.js", "content.js" ], "matches": [ "http://*/*", "https://*/*" ] } ], "permissions": [ "background", "tabs", "http://*/*", "https://*/*", ] }
Any one having solution please suggest.