i want to disable the inspect popup button on right click of my Add-on app.
below is my manifest code.
{
"name": "TestApp",
"version": "0.4",
"description": "trying to display the image",
"background": {
"scripts": ["background.js"]
},
"permissions": [
"processes", "tabs", "chrome://favicon/*"
],
"browser_action": {
"default_title": "my Test App",
"default_icon": "Img/icon.png"
},
"manifest_version": 2,
"content_security_policy": "script-src 'self'; object-src 'self'"
}
----------------------------------------
background.js
chrome.browserAction.setPopup({
popup: 'index.html'
});
but my app requires the index.html , is there any way to hide the inspect popup from javascript (or) jquery.. (or) any alternative way.
Help Required.
Regards
Santhosh K