diff --git a/content/muttator.js b/content/muttator.js index fef47ecb..e4f80c36 100644 --- a/content/muttator.js +++ b/content/muttator.js @@ -62,7 +62,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); }],*/ ["console", "JavaScript console", function () { toJavaScriptConsole(); }], /*["customizetoolbar", "Customize the Toolbar", diff --git a/content/vimperator.js b/content/vimperator.js index a83b3d99..375c7143 100644 --- a/content/vimperator.js +++ b/content/vimperator.js @@ -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",