mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 13:52:26 +01:00
don't use Cc and Ci globals
This commit is contained in:
@@ -62,7 +62,7 @@ liberator.config = { //{{{
|
|||||||
["checkupdates", "Check for updates",
|
["checkupdates", "Check for updates",
|
||||||
function () { checkForUpdates(); }],
|
function () { checkForUpdates(); }],
|
||||||
/*["cleardata", "Clear private data",
|
/*["cleardata", "Clear private data",
|
||||||
function () { Cc[GLUE_CID].getService(Ci.nsIBrowserGlue).sanitize(window || null); }],*/
|
function () { Components.classes[GLUE_CID].getService(Components.interfaces.nsIBrowserGlue).sanitize(window || null); }],*/
|
||||||
["console", "JavaScript console",
|
["console", "JavaScript console",
|
||||||
function () { toJavaScriptConsole(); }],
|
function () { toJavaScriptConsole(); }],
|
||||||
/*["customizetoolbar", "Customize the Toolbar",
|
/*["customizetoolbar", "Customize the Toolbar",
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ liberator.config = { //{{{
|
|||||||
["checkupdates", "Check for updates",
|
["checkupdates", "Check for updates",
|
||||||
function () { checkForUpdates(); }],
|
function () { checkForUpdates(); }],
|
||||||
["cleardata", "Clear private data",
|
["cleardata", "Clear private data",
|
||||||
function () { Cc[GLUE_CID].getService(Ci.nsIBrowserGlue).sanitize(window || null); }],
|
function () { Components.classes[GLUE_CID].getService(Components.interfaces.nsIBrowserGlue).sanitize(window || null); }],
|
||||||
["cookies", "List your cookies",
|
["cookies", "List your cookies",
|
||||||
function () { toOpenWindowByType("Browser:Cookies", "chrome://browser/content/preferences/cookies.xul", "chrome,dialog=no,resizable"); }],
|
function () { toOpenWindowByType("Browser:Cookies", "chrome://browser/content/preferences/cookies.xul", "chrome,dialog=no,resizable"); }],
|
||||||
["console", "JavaScript console",
|
["console", "JavaScript console",
|
||||||
|
|||||||
Reference in New Issue
Block a user