阅读:4426回复:6
谁科普下browser.HTML?
用HTML绘制浏览器UI?
|
|
1楼#
发布于:2017-02-20 16:46
browser.html 是一个实验性的项目,用于证明一个概念:使用 HTML 重新实现 Firefox UI ,并作为一个应用程序。它是基于浏览器的 API ,并以浏览器的方式和系统的应用工作。即使它包括标签,如vbox,hbox,空格等等这一切都是基于 HTML 实现的。
![]() taoww 有测试体验:https://www.firefox.net.cn/read-52927 |
|
|
2楼#
发布于:2017-02-20 18:34
|
|
3楼#
发布于:2017-02-20 20:36
|
|
|
4楼#
发布于:2017-02-20 23:01
虽然是 html + css + js
但是一样有办法让你不好改 比如混淆加预编译,然后打成一个私有格式的压缩包,再辅以签名验证 还可以美其名曰“优化加载性能,防止恶意软件篡改” |
|
|
5楼#
发布于:2017-02-21 11:36
|
|
|
6楼#
发布于:2017-02-21 20:12
pcxfirefox:反正总得迈出一步 不过未来webextensions下也是可以改界面的 只是很多不会改而已回到原帖https://blog.mozilla.org/addons/2017/02/16/the-road-to-firefox-57-compatibility-milestones/#comment-223542 There are some UI elements that are security sensitive, like the identity box, but that's not the main reason that UI customization is being significantly restricted. The main reason is that add-ons that do this are very dependent on the UI begin a certain way, and breaking easily when it doesn't. This means making big UI changes in Firefox (like Australis) lead to lots of anger from users and add-on developers, and add-ons end up being inevitably abandoned every time. Restricting APIs in a way that make them more future-proof largely avoids these problems. It's a trade-off, of course, and some great add-ons can't be implemented in the same way, or at all, but we believe it's a net positive. we'll see |
|
|