I\'m sending a message from the content script to the background page. The message is a URL which then gets ajax parsed in the background. When I console.log the data retrie
You can't pass DOM nodes with Messaging; data must be JSON-serializable, and DOM nodes are not.
Pass only data you really need (e.g. textContent), then reconstruct the node on the other side.
textContent