Get Firefox tab information from sessionstore's recovery.js file.
$ npm install --save firefox-tabs
const firefoxTabs = require('firefox-tabs');
console.log(firefoxTabs.sync());
/*
{
deviceName: 'sage',
modified: 2016-09-26T18:49:13.682Z,
tabCount: 2,
tabs: [
{
title: 'imbue.studio',
url: 'https://imbue.studio'
},
{
title: 'Google',
url: 'https://www.google.com'
}
]
}
*/
Tabs are fetched from firefox's sessionstore-backup
folder for the current profile.
Returns a promise for an array of devices
.
Returns an array of devices
.
- active-win-cli - CLI for this module
BSD 3-Clause © Fielding Johnston