aboutsummaryrefslogtreecommitdiffstats
path: root/chrome-get-urls-from-tabs-in-windows.js
diff options
context:
space:
mode:
Diffstat (limited to 'chrome-get-urls-from-tabs-in-windows.js')
-rw-r--r--chrome-get-urls-from-tabs-in-windows.js18
1 files changed, 0 insertions, 18 deletions
diff --git a/chrome-get-urls-from-tabs-in-windows.js b/chrome-get-urls-from-tabs-in-windows.js
index eb2f3c1..5516edd 100644
--- a/chrome-get-urls-from-tabs-in-windows.js
+++ b/chrome-get-urls-from-tabs-in-windows.js
@@ -13,20 +13,6 @@ chrome.windows.getAll({populate:true}, function(windows){
var chrome_tabs = [];
windows.forEach(function(window){
- // var window_name = 'Window ' + w_index;
- //
- // window.tabs.forEach(function(tab){
- // var window_output = {};
- // window_output[window_name] = [
- // {
- // page_title: tab.title,
- // url: tab.url
- // }
- // ];
- //
- // chrome_tabs.push(window_output);
- // });
-
textarea.value += "- Window " + w_index + ":\n";
window.tabs.forEach(function(tab){
@@ -36,10 +22,6 @@ chrome.windows.getAll({populate:true}, function(windows){
textarea.value += "\n";
- // console.log(chrome_tabs);
- // console.log(YAML.stringify(chrome_tabs));
- //textarea.value = YAML.stringify(chrome_tabs);
-
w_index++;
});
}