mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-04-01 08:13:32 +02:00
display an error message when :dialog dominspector is called if the DOM
Inspector extension is not installed
This commit is contained in:
@@ -62,7 +62,7 @@ liberator.config = { //{{{
|
|||||||
["customizetoolbar", "Customize the Toolbar",
|
["customizetoolbar", "Customize the Toolbar",
|
||||||
function () { BrowserCustomizeToolbar(); }],
|
function () { BrowserCustomizeToolbar(); }],
|
||||||
["dominspector", "DOM Inspector",
|
["dominspector", "DOM Inspector",
|
||||||
function () { inspectDOMDocument(content.document); }],
|
function () { try { inspectDOMDocument(content.document); } catch (e) { liberator.echoerr("DOM Inspector extension not installed"); } }],
|
||||||
["downloads", "Manage Downloads",
|
["downloads", "Manage Downloads",
|
||||||
function () { toOpenWindowByType('Download:Manager', 'chrome://mozapps/content/downloads/downloads.xul', 'chrome,dialog=no,resizable'); }],
|
function () { toOpenWindowByType('Download:Manager', 'chrome://mozapps/content/downloads/downloads.xul', 'chrome,dialog=no,resizable'); }],
|
||||||
["history", "List your history",
|
["history", "List your history",
|
||||||
|
|||||||
Reference in New Issue
Block a user