tshaddix / webext-redux

A set of utilities for building Redux applications in Web Extensions.
MIT License
1.22k stars 179 forks source link

Support customized browser api to avoid conflict with global variable #260

Open arthur791004 opened 3 years ago

arthur791004 commented 3 years ago

Goal

As a extension development, if we need to use webext-redux on certain website which has already define a global variables named browser, it would make it not work because the getBrowserAPI function looks for a global browser api.

Therefore, add option named browserAPI for development to give the target browserAPI and avoid to looks for a global browser api

Changes