javascript - When inside a frame, the innerHeight and innerWidth in Safari is 0 -


if run js innerheight , innerwidth of page, , if page inside iframe, correct results in chrome (i.e. height , width of page), in safari value of 0 both items.

is there way innerheight , innerwidth of page if inside iframe in safari?

thanks


Comments

Popular posts from this blog

qt - QML MouseArea onWheel event not working properly when inside QML Scrollview -

java - is not an enclosing class / new Intent Cannot Resolve Constructor -

python - Error importing VideoFileClip from moviepy : AttributeError: 'PermissionError' object has no attribute 'message' -