获取当前页面内所有框架窗口

index.js

window.frames; // 返回类数组对象,元素包括 <frame> 和 <iframe>
原文地址:https://www.cnblogs.com/aisowe/p/15250087.html