LennardF1989 / BF2042-Portal-Extensions

Browser extensions to add additional functionality to the BF2042 Portal Rules Editor.
https://bf2042-portal-extensions.lennardf1989.com/
GNU General Public License v3.0
20 stars 11 forks source link

Added a basic browser detection (isFirefox) to fix cloneInto being undefined #19

Closed Ludonope closed 2 years ago

Ludonope commented 2 years ago

Added a basic check to know if we're on firefox or not.

Solution comes from this answer: https://stackoverflow.com/questions/41819284/how-to-determine-in-which-browser-your-extension-background-script-is-executing

LennardF1989 commented 2 years ago

Applied a hotfix, thanks :)