0.0.2 • Published 10 years ago

browser-tabs v0.0.2

Weekly downloads
4
License
LGPL
Repository
github
Last release
10 years ago

browser-tabs

Node module that lists open Browser Tabs. Currently supports Firefox and Chrome.

Installation

You need nodejs and npm for this. Then you need node-gyp, you can install it via

npm install -g node-gyp

Then you can run:

npm install browser-tabs

Usage

Simply require the package and call it.

var browserTabs = require("browser-tabs");

var chromeTabs = browserTabs.chrome();
var firefoxTabs = browserTabs.firefox();

Where

  • .chrome() returns a simple Array of URLs
  • .firefox() returns the content of the sessionstore.js file