0

I need to find out the height of the web pages that go in my iframe. Those pages are out of my control and there is no way I can place code in them. I guess I could add a proxy function to my server but I'd rather avoid that if at all possible because bandwidth.

Is there any way to do this?

user81993
  • 6,167
  • 6
  • 32
  • 64
  • 1
    possible duplicate of [Is there a cross-domain iframe height auto-resizer that works?](http://stackoverflow.com/questions/5589756/is-there-a-cross-domain-iframe-height-auto-resizer-that-works) – CollinD Sep 15 '15 at 06:43

1 Answers1

0

If you're just trying to stretch your iframe to match your embedded content, try looking at Make iframe automatically adjust height according to the contents without using scrollbar?

That being said, this will NOT work for cross-domain iframes due to Same Origin Policy

Community
  • 1
  • 1
CollinD
  • 7,304
  • 2
  • 22
  • 45