diff options
| author | Teddy Wing | 2014-03-30 16:10:46 -0400 |
|---|---|---|
| committer | Teddy Wing | 2014-03-30 16:10:46 -0400 |
| commit | 55f440c98dad4a4d5e1ab7c879c008c54a71555c (patch) | |
| tree | 4ec4742efe503bcf552d02d60533bcc938547116 /chrome-get-urls-from-tabs-in-windows.js | |
| parent | b8aa3166e3ff74c93a97b02c204924f85b69d6be (diff) | |
| download | chrome-copy-urls-from-all-tabs-55f440c98dad4a4d5e1ab7c879c008c54a71555c.tar.bz2 | |
Remove YAML library
Since I'm now outputting YAML manually for better looks, get rid of the
YAML serialiser I included previously.
Diffstat (limited to 'chrome-get-urls-from-tabs-in-windows.js')
| -rw-r--r-- | chrome-get-urls-from-tabs-in-windows.js | 18 |
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++; }); } |
