arimgibson / Deadname-Remover

An easy to use Firefox and Chrome plugin to automatically remove and replace deadnames
MIT License
120 stars 30 forks source link

Fix options page appearing on browser update #534

Closed consoleSkunk closed 2 years ago

consoleSkunk commented 2 years ago

Fixes #35.

chrome.runtime.onInstalled is called for reasons other than just the extension being installed.

This PR adds a check only for the install reason.