firefox-tabs

0.0.1 • Public • Published

firefox-tabs Build Status

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

License

BSD 3-Clause © Fielding Johnston

Readme

Keywords

Package Sidebar

Install

npm i firefox-tabs

Weekly Downloads

1

Version

0.0.1

License

BSD-3-Clause

Last publish

Collaborators

  • fielding