Answers for "chrome extensions background script oninstall not triggered"

0

chrome extensions background script oninstall not triggered

chrome.runtime.onInstalled.addListener(function(details){
    if(details.reason == "install"){
        //call a function to handle a first install
    }else if(details.reason == "update"){
        //call a function to handle an update
    }
});
Posted by: Guest on October-24-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language