Small addon for clicking on a list of buttons, which supports closing new tabs as a result of a button press.
To use this addon, first set the specific URL you want to use, inside background.js, and then place the CSS selector for the button list, inside the file content.js.