I\'m trying to make that if you press a button in the popup window in my chrome extension, it will reload the extension. Is that possible?
Add this code to manifest.json:
"background": { "persistent": false, "scripts": [ "background.js" ] }
Add this code to background.js:
chrome.browserAction.onClicked.addListener(function(tab) { chrome.runtime.reload(); });