From 87a3c3aedc73a359c8995b92ae06974955292511 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Thu, 7 Jun 2012 16:12:26 +0900 Subject: [PATCH] commentout echo-closed-tabs --- _keysnail.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/_keysnail.js b/_keysnail.js index 8358374..a3ca893 100644 --- a/_keysnail.js +++ b/_keysnail.js @@ -435,16 +435,16 @@ ext.add("list-closed-tabs", function () { }); }, "List closed tabs"); -ext.add("echo-closed-tabs", function () { - var ss = Cc["@mozilla.org/browser/sessionstore;1"].getService(Ci.nsISessionStore); - var json = Cc["@mozilla.org/dom/json;1"].createInstance(Ci.nsIJSON); - // var closedTabs = [[tab.image || fav, tab.title, tab.url] for each (tab in json.decode(ss.getClosedTabData(window)))]; - var lasttab = json.decode(ss.getClosedTabData(window))[0]; - dump = "" - for (var i in lasttab) { dump += lasttab[i] + "\n"; } - confirm(dump); - -}, "List closed tabs"); +// ext.add("echo-closed-tabs", function () { +// var ss = Cc["@mozilla.org/browser/sessionstore;1"].getService(Ci.nsISessionStore); +// var json = Cc["@mozilla.org/dom/json;1"].createInstance(Ci.nsIJSON); +// // var closedTabs = [[tab.image || fav, tab.title, tab.url] for each (tab in json.decode(ss.getClosedTabData(window)))]; +// var lasttab = json.decode(ss.getClosedTabData(window))[0]; +// dump = "" +// for (var i in lasttab) { dump += lasttab[i] + "\n"; } +// confirm(dump); + +// }, "List closed tabs"); /////////////////////////////// // http://malblue.tumblr.com/post/349001250/tips-japanese-keysnail-github