webextension-window
v1.0.3
Published
WebExtension library for accessing document.window from content scripts
Downloads
19
Maintainers
Readme
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