disabling inspect pop up on right click on the add-on

502 views
Skip to first unread message

SanThosh K

unread,
Dec 27, 2014, 2:01:53 AM12/27/14
to chromium-...@chromium.org, Jason Teagle
Hi Chromians,

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


PhistucK

unread,
Dec 27, 2014, 12:58:24 PM12/27/14
to SanThosh K, Chromium-extensions, Jason Teagle
Nope. Just like you cannot disable or hide "Inspect element" in web pages.

Note, however, that it is only visible when the developer mode of chrome:extensions is enabled, if that is any comfort. ;)


PhistucK

--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/CAHmvfS206AZfQ%2BL9mbCaWejaBujAe8TWc6aVvGnvvXMdUfd26Q%40mail.gmail.com.
For more options, visit https://groups.google.com/a/chromium.org/d/optout.

Reply all
Reply to author
Forward
0 new messages