firefox-tabs
v0.0.1
Published
Get Firefox tab information from sessionstore's recovery.js file.
Downloads
1
Readme
firefox-tabs
Get Firefox tab information from sessionstore's recovery.js file.
Install
$ npm install --save firefox-tabs
Usage
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'
}
]
}
*/
API
Tabs are fetched from firefox's sessionstore-backup
folder for the current profile.
firefoxTabs()
Returns a promise for an array of devices
.
firefoxTabs.sync()
Returns an array of devices
.
Related
- active-win-cli - CLI for this module
License
BSD 3-Clause © Fielding Johnston