Create iframe in inject.
Removed console log from bg.
Bg now listens for messages from inject.
Removed message listener from backgrond; messages cannot be recieved from injected script.
Should be adding comment URL to window.postmessage.
Attempting to revieve message in inject.js.
Seems to be posting message succesfully. Inject doesn't detect the message.
Inject.js is now injected when HN post tab is opened. Recieves postMessage succesfully.
Removed calls that add comments url to tab object.
logs origin and data of postmessage to console.
Reinstated saving commentURL to tab object.
have a function that draws an iframe when passed a URL but it runs into x-frame-option=deny problem
Added webrequest permissions to manifest file.
Copied and pasted web request coed from SO.
Corrected spelling.
Succesfully injecting HN homepage.
Moved webRequest callback into own function.
Refactored request headers listener.
Modified requestHeader permissions to only allow comments to be tampered with.
Should now open correct comments in iframe.