Outputs current url and stored url to background page.
Removed commented out code.
Can correctly detect if you've just clicked through to a HN page!
Added flag for "preventDefault" on hn page links.
Added flag for console.log in hackernews.js.
shows page action when new HN page navigated to.
Added listener to page action that navigates to hacker news homepage.
It navigates to comments when page action is clicked! (very precarious)
Removed redundant send message bit from background.js.
moved callback for tab updates to its own function without breaking functionality.
Removed console.log from tab listener funciton.
Refactored code for saving data to be much more tidy.
Managed to pass message from content script to background.
Now passes page object to background page.
Improved clarity of comments in background.js.
Removed some console.logs
Created new function that loops over array.
Rewritten nodelistToArray to return an array of objects that should contain each post's link and comment url.
Rewritten addDataToStore to save the array of post objects.
Call new data save function without needing a click, added check for "more" link in creation of post object array.