我刚刚下载了新的Firefox Developer Edition浏览器的副本,然后开始研究开发工具。
我注意到某些链接和脚本是通过chrome://
URL 加载的,我认为这些URL是为Google Chrome注册的。
以下是其中一些具体的行。
<link id="favicon" rel="icon" type="image/png" href="chrome://branding/content/icon32.png"></link>
<link rel="stylesheet" type="text/css" media="all" href="chrome://browser/content/searchSuggestionUI.css"></link>
<link rel="stylesheet" type="text/css" media="all" defer="defer" href="chrome://browser/content/abouthome/aboutHome.css"></link>
<script type="text/javascript;version=1.8" src="chrome://browser/content/abouthome/aboutHome.js"></script>
<script type="text/javascript;version=1.8" src="chrome://browser/content/searchSuggestionUI.js"></script>
我想知道他们是否在劫持chrome资产,但是在检查了其中一个脚本之后,我发现了Mozilla注释。
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
我对自定义协议或其注册或使用方式知之甚少。这里发生了什么?