Keep Popup Open when Opening a new Page
问题 I have the following code to introduce my Chrome Extension. // detect if this is the first time running var first_run = false; if (!localStorage['ran_before']) { first_run = true; localStorage['ran_before'] = '1'; } // if not, start the intro() script if (first_run) intro(); // intro script function intro() { window.open("intro/index.html", '_blank'); } But sadly, when I click the extension, it doesn't open the popup.html but just opens the intro page.. it needs to keep the popup.html open