Good day!

The page has an iframe, which displays a page from another site, but its size exceeds the size of the iframe and it is cropped.

Question: Is it possible to somehow set the size of what is in the iframe?

  • Make scrolled iframe. - Qwertiy
  • And you can do without scrolling? - Oloji
  • It is impossible. If the site itself does not fit the window. - Qwertiy

1 answer 1

If the page is on the same domain, yes, you have access and can modify it with js iframe

frames[0].contentWindow.document.body - body фрейма 

If you are not located on the same domain, you can try this: jsfiddle

It is possible for your server to receive and change the page, display it as you wish.