https://github.com/fielding/firefox-tabs
Get Firefox tab information from sessionstore's recovery.js file.
https://github.com/fielding/firefox-tabs
Last synced: about 1 month ago
JSON representation
Get Firefox tab information from sessionstore's recovery.js file.
- Host: GitHub
- URL: https://github.com/fielding/firefox-tabs
- Owner: fielding
- License: bsd-3-clause
- Created: 2016-09-29T08:22:10.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-09-17T09:53:00.000Z (almost 9 years ago)
- Last Synced: 2025-10-20T20:14:05.480Z (9 months ago)
- Language: JavaScript
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# firefox-tabs [](https://travis-ci.org/justfielding/firefox-tabs)[](https://coveralls.io/github/justfielding/firefox-tabs?branch=master)
> Get Firefox tab information from sessionstore's recovery.js file.
## Install
```
$ npm install --save firefox-tabs
```
## Usage
```js
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
- [firefox-tabs-cli](https://github.com/justfielding/firefox-tabs-cli) - Get Firefox tab information from sessionstore's recovery.js file via command line
## License
BSD 3-Clause © [Fielding Johnston](http://justfielding.com)