diff options
| -rw-r--r-- | chrome-get-urls-from-tabs-in-windows.js | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/chrome-get-urls-from-tabs-in-windows.js b/chrome-get-urls-from-tabs-in-windows.js index 6f957cd..a689b0c 100644 --- a/chrome-get-urls-from-tabs-in-windows.js +++ b/chrome-get-urls-from-tabs-in-windows.js @@ -25,6 +25,8 @@ chrome.windows.getAll({populate:true},function(windows){  }); +// Adapted from: +// http://stackoverflow.com/a/18197511  create_download_link = function(text) {  	var download_link = document.createElement('a');  	download_link.setAttribute('href', 'data:text/plain;charset=utf-8,' + encodeURIComponent(text)); | 
