webextension-window

1.0.3 • Public • Published

webextension-window

Library for accessing document.window variable from content scripts with no deps.

Installation

yarn add webextension-window or npm install webextension-window

Example

import getVariable from 'webextension-window';

const value = getVariable('someWindowValue'); //equal to window.someWindowValue

Package Sidebar

Install

npm i webextension-window

Weekly Downloads

2

Version

1.0.3

License

MPL-2.0

Unpacked Size

3.52 kB

Total Files

7

Last publish

Collaborators

  • winne4r