1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 11:27:58 +01:00

allow :dialog to open the cookies manager

This commit is contained in:
Doug Kearns
2008-08-30 03:42:04 +00:00
parent a0ab368082
commit 122dbe4624
2 changed files with 4 additions and 1 deletions

1
NEWS
View File

@@ -1,6 +1,7 @@
<pre> <pre>
2008-08-16: 2008-08-16:
* version 2.0 (probably) * version 2.0 (probably)
* allow :dialog to open the cookies manager
* add 'loadplugins' option * add 'loadplugins' option
* add count support to C-^ (Kazuo) * add count support to C-^ (Kazuo)
* add 'eventignore' option * add 'eventignore' option

View File

@@ -59,6 +59,8 @@ liberator.config = { //{{{
function () { checkForUpdates(); }], function () { checkForUpdates(); }],
["cleardata", "Clear private data", ["cleardata", "Clear private data",
function () { Cc[GLUE_CID].getService(Ci.nsIBrowserGlue).sanitize(window || null); }], function () { Cc[GLUE_CID].getService(Ci.nsIBrowserGlue).sanitize(window || null); }],
["cookies", "List your cookies",
function () { toOpenWindowByType("Browser:Cookies", "chrome://browser/content/preferences/cookies.xul", "chrome,dialog=no,resizable"); }],
["console", "JavaScript console", ["console", "JavaScript console",
function () { toJavaScriptConsole(); }], function () { toJavaScriptConsole(); }],
["customizetoolbar", "Customize the Toolbar", ["customizetoolbar", "Customize the Toolbar",
@@ -66,7 +68,7 @@ liberator.config = { //{{{
["dominspector", "DOM Inspector", ["dominspector", "DOM Inspector",
function () { try { inspectDOMDocument(content.document); } catch (e) { liberator.echoerr("DOM Inspector extension not installed"); } }], 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",
function () { openDialog("chrome://browser/content/history/history-panel.xul", "History", "dialog,centerscreen,width=600,height=600"); }], function () { openDialog("chrome://browser/content/history/history-panel.xul", "History", "dialog,centerscreen,width=600,height=600"); }],
["import", "Import Preferences, Bookmarks, History, etc. from other browsers", ["import", "Import Preferences, Bookmarks, History, etc. from other browsers",