V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
h2sky
V2EX  ›  问与答

img标签 插入的不是图片 而是网页,能执行网页里什么内容?

  •  
  •   h2sky · 2013-03-11 16:35:39 +08:00 · 3007 次点击
    这是一个创建于 4276 天前的主题,其中的信息可能已经有所发展或是发生改变。
    插入
    <img src="http://www.v2ex.com/start" />

    页面http://www.v2ex.com/start 中JS能被执行吗?
    页面能被全部读取吗?
    2 条回复    2019-09-19 15:56:23 +08:00
    allenm
        1
    allenm  
       2013-03-11 16:42:13 +08:00   ❤️ 1
    JS 不会被执行,页面会被加载下来吧。

    如果你打开控制台,应该会看到一句:Resource interpreted as Image but transferred with MIME type text/html
    fange01
        2
    fange01  
       2019-09-19 15:56:23 +08:00
    <img width="108" height="108" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGwAAABsCAYAAACPZlfNAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6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IjGOR59+B053CeY21lu1YyKhJTogc9Znr2kCGDPtxAt10fMENbU1YqNBskeeRQ1myiWyqdgEiUep0wlFLa4PdoQkzOrkaZ2GoE96qPG8OB0MEn7cU2+0SJuvqXk2+lMUM5bUyd46cNnp5OTb7bnRMHqZSKRZ/8b7kj7ZFLXgjVpF8wbsqoFAkiMZT8DtsE9zwJjVSr2YB8aMHTArJNUV6MNnv3+/LEJ3i+Avy+aXg6ugpy+MBXMqcN69/49ccDuGHwosQDpAROnz33kISYXD5Syc1i0bGZmK5aeTdIkQnafEMX0jHUUn3RMcyk6O6ty6egKMy5S3XGmwJrCUSFBdbTWp75F9N5tDRb3cbeAosUIihW9UqFBTgya2j5QkgaVMd5U4PS7GDFi1dMPT4rKca6bJ0K8tszfHcl/JRZtYQ7bjs3pIsQKACflOyhCJLs5ckf1A8L8ZMDbkhPYRVzm3iv84Q57cj8EtFc5JApghnfiRP5EceEVJOfFG4VgDS9lveS960cE6CoCxKfwkRdpRViBUZf1t9D4DVpqCmjd3MZd78FT7vyPzXY+A45yeDD6MxvPM4QGTIxZjI5Cm3I0rfFKuSLszUnWbI47DRemeIkHgMupcIONLlFiZNlKjGr0sadXH8Wn
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2632 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 10:57 · PVG 18:57 · LAX 02:57 · JFK 05:57
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.