我想在我的dom树中加载像www.twitter.com这样的外部网站,然后再加载 modify for example some divs . 我怎么能用Dart做到这一点?

即使我改变网站f.e.通过键入搜索请求,我还应该能够在dom树中插入叠加层 .

Dart可以修改外部网页吗?

不知怎的,有一个iframe可能吗?

<iframe src="https://www.twitter.com" width="100%" height="300">
    <p>Your browser does not support iframes.</p>
</iframe>

但是我收到错误消息

Refused to display 'https://twitter.com/' in a frame because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self'".