Open AnweshGangula opened 1 year ago
Right now, if the user make a change in settings and click on the chrome tab without clicking the save button, the settings don't get saved. You can use below code to notify user
Check out this link for reference: https://stackoverflow.com/a/65563521/6908282
// popup.js chrome.runtime.connect({ name: "popup" });
// background.js chrome.runtime.onConnect.addListener(function(port) { if (port.name === "popup") { port.onDisconnect.addListener(function() { console.log("popup has been closed") }); } });
Right now, if the user make a change in settings and click on the chrome tab without clicking the save button, the settings don't get saved. You can use below code to notify user
Check out this link for reference: https://stackoverflow.com/a/65563521/6908282