I\'m pretty much lost on how to make the added contents of my popup window not disappear every time I open a new link or click it \"away\". I\'ve read about content script,
A popup reloads it's document every time it's closed/reopened. Instead, you should use a background page to preserve state.
General way to do this is: