Last active
January 7, 2023 22:22
-
-
Save msfrisbie/e649eda9508aa5ffde9c01a99276ab98 to your computer and use it in GitHub Desktop.
3. A post-install action
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
chrome.runtime.onInstalled.addListener((details) => { | |
if (details.reason === chrome.runtime.OnInstalledReason.INSTALL) { | |
chrome.runtime.openOptionsPage(); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment