扫码关注官方订阅号
一个网页中嵌套一个iframe,怎样单独打开iframe中的网页?对他进行分析?
小伙看你根骨奇佳,潜力无限,来学PHP伐。
Chrome,右键直接就打开了....
示例:http://www.w3school.com.cn/tiy/t.asp?f=html_iframe操作:
你这个iframe里面没有src属性吗?有的话直接打开看看
iframe
src
在上面右键,copy->copy element,然后粘贴出来即可。
选中iframe中#document那一行,Ctrl+C
#document
打开文本编辑器,Ctrl+V,保存为test.html
用Chrome浏览器打开test.html,点右键“检查”
打开控制台粘贴这段代码,然后enter键 window.open(document.querySelector('iframe').src);
微信扫码关注PHP中文网服务号
QQ扫码加入技术交流群
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
PHP学习
技术支持
返回顶部
Chrome,右键直接就打开了....
示例:http://www.w3school.com.cn/tiy/t.asp?f=html_iframe

操作:
你这个
iframe里面没有src属性吗?有的话直接打开看看在上面右键,copy->copy element,然后粘贴出来即可。
选中iframe中
#document那一行,Ctrl+C打开文本编辑器,Ctrl+V,保存为test.html
用Chrome浏览器打开test.html,点右键“检查”
打开控制台粘贴这段代码,然后enter键 window.open(document.querySelector('iframe').src);