Skip to content

WebExtension library for accessing document.window from content scripts

Notifications You must be signed in to change notification settings

Winne4r/webextension-window

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

WebExtension library for accessing document.window from content scripts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published