How does the communication between a panel and a content script happen? How can we dynamically update the panel content from content script? The content script accesses the DOM of the page loaded. Now every time when there is a DOM change in the webpage that should be shown in the panel. How can we do this? Can anyone explain with an example?