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?
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?
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.
Source: https://ru.stackoverflow.com/questions/574839/
All Articles