"If multiple pages are listening for onMessage events, only the first to call sendResponse() for a particular event will succeed in sending the response. All other responses to that event will be ignored."
From: https://developer.chrome.com/docs/extensions/mv3/messaging/
I read it on chrome extension docs but I can't find any solution to handle. I open 2 page at the same time example.com/?id=id1 example.com/?id=id2 Then content Script inject iframe to web page but Iframe use the same data. I want data different between them base on id
Make iframe use different data base on id