liriliri / eruda

Console for mobile browsers
https://eruda.liriliri.io
MIT License
18.95k stars 1.22k forks source link

Eruda doesn't read content inside iframes. #427

Open s0urce-c0de opened 8 months ago

s0urce-c0de commented 8 months ago

Eruda wont show content in an iframe, unlike a normal browser devtools.

Efreak commented 1 month ago

This is generally prevented by the browser, since eruda runs in the context of the page. CSRF and same-origin concerns apply here. To do this reliably, you'd need to run eruda as an extension, or run it in the frame as well and use message passing to communicate between different eruda instances (since many frames are invisible and thus you can't see the eruda display inside them).

s0urce-c0de commented 1 month ago

This is generally prevented by the browser, since eruda runs in the context of the page. CSRF and same-origin concerns apply here. To do this reliably, you'd need to run eruda as an extension, or run it in the frame as well and use message passing to communicate between different eruda instances (since many frames are invisible and thus you can't see the eruda display inside them).

Chii can do it, even if only sometimes.