I'm trying to build chrome extension to get tags in iframe across origins, but it shows Uncaught DOMException: Blocked a frame with origin "https://aaa.xxx.com" from accessing a cross-origin frame.
For example, I'm on the site "https://aaa.xxx.com" want to get a iframe tag in "https://bbb.xxx.com"(Same primary domain name.)
Which page should I add code to make it run? Thanks.