diff options
| author | Teddy Wing | 2014-03-24 18:32:11 -0400 |
|---|---|---|
| committer | Teddy Wing | 2014-03-24 18:32:11 -0400 |
| commit | b5f69d0b3426e86507a88e6f3bda5e758a8fd497 (patch) | |
| tree | 3f6027e712cbfd689432532688fb4c6d325471a7 /page.js | |
| download | chrome-copy-urls-from-all-tabs-b5f69d0b3426e86507a88e6f3bda5e758a8fd497.tar.bz2 | |
Initial commit: initial working version
From 2014.03.17. Clicking on the extension's icon button opens a new
tab containing a textarea with all URLs in open tabs collected by
window.
Diffstat (limited to 'page.js')
| -rw-r--r-- | page.js | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -0,0 +1,16 @@ +(function() { + var d = new Date(); + var date_string = + d.getFullYear() + + '' + + ('0' + (d.getMonth() + 1)).slice(-2) + + '' + + ('0' + d.getDate()).slice(-2) + + '-' + + d.getHours() + + 'h' + + d.getMinutes(); + + var header_text = 'chrome-tabs-' + date_string; + document.getElementById('header').innerHTML = header_text; +})();
\ No newline at end of file |
