Mozilla 最近推出了一款名为 Mozilla Firefox Developer Edition 的新 Web 浏览器,表面上是为 Web 开发人员设计的。
所以我安装了它,但我找不到普通 Firefox 和开发者版之间的太大区别。开发版中的每个工具都已经在普通版中了。与普通版相比,开发者版提供了什么?
我刚刚下载了新的 Firefox Developer Edition 浏览器的副本,并开始摆弄开发工具。
我注意到一些链接和脚本是通过chrome://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>
Run Code Online (Sandbox Code Playgroud)
我想知道他们是否在劫持 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/. */
Run Code Online (Sandbox Code Playgroud)
我不太了解自定义协议或它们是如何注册或使用的。这里发生了什么?