I think it would make sense to combine `postMessage` and `postMessageToContentScript` & use `origin` to determine weather message should be delivered to document, content script or both.