Node application for converting android chrome tabs into bookmarks html file. Perhaps more of a workflow than an application.
- Run this script in console of devtools chrome://inspect/#devices: copy(Array.from(document.querySelectorAll('#HT7BL1A00102\:chrome_devtools_remote > div.list.pages > div > div > div > div.subrow'), s => ({name: s.querySelector('.name').textContent, url: s.querySelector('.url').textContent})))
- Create file called bookmarks_src.json and paste
- Run converter.js using node:
node converter.js
- Output is a bookmarks html file called
androidTabsBookmarks[YYY-MM-DD].html
- This file is ready to import into the browser of your choice
NOTE: use node converter.js overwrite
to overwrite the bookmarks file that's already in the folder. Use node converter.js new [newFileName]
to create a new file instead of overwriting.