![Chrome——查看源代码选项淡出](https://linux22.com/image/1471752/Chrome%E2%80%94%E2%80%94%E6%9F%A5%E7%9C%8B%E6%BA%90%E4%BB%A3%E7%A0%81%E9%80%89%E9%A1%B9%E6%B7%A1%E5%87%BA.png)
答案1
因为 URL 返回的是 PNG。以下是 Firefox 中 HttpFox 的输出:
请注意类型列。
还:
$ curl -D headers 'http://geobeck.tripod.com/bin/counter/~geobeck/jokehold/jokes.html' >jokes
$ cat headers
HTTP/1.1 200 OK
Date: Sat, 31 Oct 2015 16:50:25 GMT
Server: Squeegit/1.2.5 (3_sir)
Set-Cookie: CookieStatus=COOKIE_OK; path=/; domain=.tripod.com; expires=Sun, 30-Oct-2016 16:50:25 GMT
Vary: *
X-Server-IP: 209.202.244.196
P3P: policyref="http://www.lycos.com/w3c/p3p.xml", CP="IDC DSP COR CURa ADMa DEVa CUSa PSAa IVAa CONo OUR IND UNI STA"
Content-Length: 150
Expires: Thu, 01 Jan 1970 00:16:40 GMT
Connection: close
Content-Type: image/png
注意 Content-Type 标头。
$ file jokes
jokes: PNG image, 70 x 11, 1-bit colormap, non-interlaced
PNG 没有“源”,至少浏览器不允许查看源。