aboutsummaryrefslogtreecommitdiffstats
path: root/chrome-get-urls-from-tabs-in-windows.js
AgeCommit message (Collapse)Author
2015-02-15Add option to change downloaded filename prefixTeddy Wing
The downloaded file would always have this format: chrome-tabs-20150215-12h38.yml Add a user-customisable option to change the "chrome-tabs-" prefix of the filename. I realised I wanted this after installing the extension on both Chrome and Chrome Canary, and wanted to have my backup files named differently depending on the version of Chrome they were coming from.
2015-02-15Fix "Cannot set property of null" error on textareaTeddy Wing
When the textarea on the download page is not available (when we have no download page), an error was caused when we tried to get `textarea.value`. Check for `textarea`'s existence before asking for its value.
2014-06-22Fix YAML single quote escape (use global)Teddy Wing
The YAML single quote escape wasn't replacing globally so only the first quote in the page title would be escaped. This results in incorrect formatting and YAML files that can't be imported without escaping separately.
2014-06-22Fix downloaded filename 'download.txt' bugTeddy Wing
As of Chrome 35, the downloaded file would appear with the filename 'download.txt' instead of the custom defined timestamped filename. Use a JS blob instead of a data URL to download the file so that the filename sticks.
2014-03-30Move filename generation codeTeddy Wing
Move code that generates the filename (without the extension) to a separate function so that we can get it in the header of the main page.
2014-03-30Add functionality for downloading backup on icon clickTeddy Wing
If the download option is set, a backup file is now downloaded when the extension button is clicked.
2014-03-30Refactor backup textTeddy Wing
Instead of updating the textarea directly, add the backup text to a string and assign that string to the textarea later. This allows us to add the text to a file for download on click of the extension button and outside the context of the extension's main page.
2014-03-30Page: move download link to topTeddy Wing
Move the download link to the top of the page and style it.
2014-03-30Generate HTML outputTeddy Wing
2014-03-30Fix minute format of downloaded filenameTeddy Wing
Add leading zero to minute.
2014-03-30Append correct file extension depending on formatTeddy Wing
For the download link, append a file extension appropriate to the type of file being downloaded.
2014-03-30Remove YAML libraryTeddy Wing
Since I'm now outputting YAML manually for better looks, get rid of the YAML serialiser I included previously.
2014-03-30Add YAML outputTeddy Wing
2014-03-30Page: update 'text' format outputTeddy Wing
* Remove <a> tags * Show page title and URL for each entry
2014-03-30Add comment: where the file download code came fromTeddy Wing
2014-03-25Generate a file download link to easily save the dataTeddy Wing
2014-03-24Initial commit: initial working versionTeddy Wing
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.