Loading AI tools
来自维基百科,自由的百科全书
view-source URI方案是部分网页浏览器采用的一种特殊URL,功效是显示指定资源的源代码。[1]
此条目过于依赖第一手来源。 |
举例来说,显示URI为 http://www.example.com(页面存档备份,存于互联网档案馆) 的页面源代码只需使用:view-source:http://www.example.com
此条目需要更新。 (2021年1月30日) |
Mozilla Firefox和Internet Explorer两者支持此方案,不过Internet Explorer自Windows XP SP2开始因安全原因停止支持。[3]Firefox也遇到了类似的安全问题(结合view-source和javascript URI[4]),但在问题修复后于Firefox 1.5[5]中继续支持。
浏览器 | 是否支持 |
---|---|
Mozilla Firefox截止至46 | 支持 |
Mozilla Firefox自47开始 | 不支持[6] |
Mozilla SeaMonkey | 支持 |
Netscape | 支持 |
Internet Explorer 4、5、6 | 支持 |
Internet Explorer 6、7、8 | 不支持,自Windows XP SP2起 |
Safari 3.2.1 | 支持[来源请求] |
Safari 5, 6 | 不支持 |
Opera 7, 8, 9, 10, 11 | 不支持 |
Opera及更新版本 | 支持 |
Google Chrome | 支持[7] |
Web | 支持[来源请求] |
HP webOS | 支持,在名为Internalz Pro的自产浏览器内[8] |
Seamless Wikipedia browsing. On steroids.
Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.
Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.