I am looking for a way to resize an iframe in the y-axis that the content fits in.
The problem is, all solutions that I can find on the web are not working anymore because of the modern CORS and Same Origin rules of the browsers.
But there must be a way to do it, as ebay is still able to fit the iframes according to the height of the content. First, I thought this might be server-sided, but disabling JS showed me the initial height of the iframe is something around 10k px
.
Which property of the child-frame are they using that is available for the parent frame?
iframe
tags I see in that link are the advertisement ones (google ads, doubleclick). Not even one otheriframe
than those. – Buzinas