Why I can’t browse & # 8594; iframe page source? How can I make iframe content viewable?

When I load a page with an iframe, often (probably always), I cannot see the contents of this iframe using the browser menu View β†’ PageSource. Two questions:

  • Why can't iframe content be viewed?

  • How can I change html or css so that it is viewable?

EDIT: @diEcho and @JohnP answered the second question (thanks guys!), But the first question remains:

Why isn't the original iframe content viewed in the first place?

Thanks!

+6
source share
2 answers

In Firefox, you can right-click inside the iframe and select This Frame -> View Source , and you can view the iframe source.

And in Chrome it's View Frame Source

+6
source

if you use firefox then install the web developer addon . It is possible to see the page source for a specific iframe ...

HAPPY HELP

+2
source

Source: https://habr.com/ru/post/886133/


All Articles