get-firefox-browser-window
v2.0.0
Published
For Firefox addon: Get a browser window.
Downloads
3
Readme
get-firefox-browser-window
For Firefox addon: Get a browser window.
See: nsIWindowMediator#getMostRecentWindow()
Install
$ npm install --save get-firefox-browser-window
Usage
var getFirefoxBrowserWindow = require('get-firefox-browser-window');
getFirefoxBrowserWindow();
//=> ChromeWindow
API
getFirefoxBrowserWindow() -> ChromeWindow || null
Changelog
License
MIT © sanemat