mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 07:27:58 +01:00
don't use Cc and Ci globals
This commit is contained in:
@@ -59,7 +59,7 @@ liberator.config = { //{{{
|
||||
["checkupdates", "Check for updates",
|
||||
function () { checkForUpdates(); }],
|
||||
["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",
|
||||
function () { toOpenWindowByType("Browser:Cookies", "chrome://browser/content/preferences/cookies.xul", "chrome,dialog=no,resizable"); }],
|
||||
["console", "JavaScript console",
|
||||
|
||||
Reference in New Issue
Block a user