本周二,Mozilla正式推出 Firefox 38,該浏覽器支援 Windows、Mac、Linux 和 Android等作業系統。這次浏覽器更新的主要内容:加入内容數字版權加密保護技術(Digital Rights Management, DRM),保護 Windows 使用者播放 HTML5 視訊标簽的内容,另外,支援 Ruby Annotation,以及在 Android 上的 UI(User Interfaces) 改進。
Firefox 38 桌面版現在可以從Firefox.com下載下傳,或者現有的使用者可以獲得自動更新。和以往一樣,Android 版本需要等待 Google Play 的釋放。
Firefox
Mozilla Firefox,中文名通常稱為“火狐”或“火狐浏覽器”(正式縮寫為 Fx,非正式縮寫為 FF),是一個開源網頁浏覽器,使用Gecko引擎。能夠同時支援多種網絡标準;可以進行個性化定制;具備出色的性能;能夠安裝多種擴充程式。
Mozilla 公司并未透露 Firefox 确切的使用者數,但表示全世界大概有五億使用者。換的表達方式,塔是面向 Web 開發者的主要平台,甚至在移動應用方面也有涉獵。
Ruby Annotation
桌面版和移動版開始支援 Ruby Annotation,這是一個東亞使用者的長期需求。這意味着,使用者不必為了添加到浏覽器而去安裝插件,如 HTML Ruby。
Ruby Annotation與Ruby語言無關,而是注音标示,是一種表意文字的音标印刷方式。Ruby 被廣泛用于日本的出版物,同時也普遍用于中國兒童動物、教育出版和字典等。
如今Firefox 38預設啟用了CSS Ruby,同時還引入了HTML5 ruby标簽支援。Ruby 主要支援這四個标簽:
- ruby (to wrap the whole ruby structure)
- rb (to mark the text in the normal line)
- rt (to mark the annotation)
- rp (hidden by default, used for conversion to the inline form).
桌面版
一直以來,反對 DRM 機制納入 HTML5 标準的 Mozilla 如今也在 Firefox 中嵌入 DRM機制,以避免 Firefox 使用者無法通過該浏覽器觀賞受到 DRM 保護的内容,包括 Netflix 在内的諸多公司已開始測試在 Firefox 中的解決方案。目前,浏覽器大多仍通過Adobe的Flash和微軟的Silverlight産品來啟用DRM。
Mozilla 聯合創始人 Brendan Eich 曾公開反對和批評 DRM 及 EME,認為 DRM 不論對使用者、開放源碼軟體,或者是浏覽器制造商都有深深的敵意,也對使用者帶來不便,限制了合法使用者對内容的合理使用。
Mozilla 還批評 CDM 屬于私有技術且并未在 EME 規格中指定:代表每個浏覽器都可能有自己的系統,而且 CDM 的目的就是為了防止使用者的篡改,是以不會開放原始碼,也讓 Mozilla 擔心所衍生的透明度、安全及隐私問題。
詳情:Update on Digital Rights Management and Firefox
Firefox 已經針對 CDM 設計了一個安全沙箱,為不能控制的代碼增加了另一個安全層。Firefox 使用者依然可以從浏覽器副本裡移除 CDM,以及該公司甚至還提供一個獨立的 Firefox版本,這個版本預設沒有啟動 CDM。{點選這裡下載下傳](https://blog.mozilla.org/blog/2015/05/12/update-on-digital-rights-management-and-firefox/)該版本。
Firefox 38 的更新日志:
- New: New tab-based preferences.
- New: Ruby annotation support.
- New: Base for the next ESR release.
- Changed: autocomplete=off is no longer supported for username/password fields.
- Changed: URL parser avoids doing percent encoding when setting the Fragment part of the URL, and percent decoding when getting the Fragment in line with the URL spec.
- Changed: RegExp.prototype.source now returns “(?:)” instead of the empty string for empty regular expressions.
- Changed: Improved page load times via speculative connection warmup.
- HTML5: WebSocket now available in Web Workers.
- HTML5: BroadcastChannel API implemented.
- HTML5: Implemented srcset attribute and element for responsive images.
- HTML5: Implemented DOM3 Events KeyboardEvent.code.
- HTML5: Mac OS X: Implemented a subset of the Media Source Extensions (MSE) API to allow native HTML5 playback on YouTube.
- HTML5: Implemented Encrypted Media Extensions (EME) API to support encrypted HTML5 video/audio playback (Windows Vista or later only).
- HTML5: Automatically download Adobe Primetime Content Decryption Module (CDM) for DRM playback through EME (Windows Vista or later only).
- Developer: Optimized-out variables are now visible in Debugger UI.
- Developer: XMLHttpRequest logs in the web console are now visually labeled and can be filtered separately from regular network requests.
- Developer: WebRTC now has multistream and renegotiation support.
- Developer: copy command added to console.
- Fixed: Various security fixes.
如果你是一名 Web 開發者,更多細節請點選:Trainspotting: Firefox 38 和 Firefox 38 for developers.
Android
Firefox 38 在 Android 并沒有重大的改進,這是小細節的修複和完善。最大的變化仍是視覺上的。
Firefox 38 for Android 更新日志:
- New: Improved user interfaces: New “Welcome Screen”, Reader View controls (on tablets and phones), “Synced Tabs” panel new layout (on Tablets), “Add to Firefox” feature (from outside Firefox)
- New: Ruby annotation support.
- New: Support for the Android L theme.
- New: Send a tab to another connected device with the “Send to device” option in the “share” menu.
- New: Add a website to your Reading List with the “Add to Reading List” button in the overflow menu.
- New: Locale added: Azerbaijani (az).
- Changed: autocomplete=off is no longer supported for username/password fields.
- Changed: URL parser avoids doing percent encoding when setting the Fragment part of the URL, and percent decoding when getting the Fragment in line with the URL spec.
- Changed: RegExp.prototype.source now returns “(?:)” instead of the empty string for empty regular expressions.
- Changed: Improved page load times via speculative connection warmup.
- HTML5: WebSocket now available in Web Workers.
- HTML5: BroadcastChannel API implemented.
- HTML5: Implemented srcset attribute and element for responsive images.
- HTML5: Implemented DOM3 Events KeyboardEvent.code.
- Developer: WebRTC now has multistream and renegotiation support.
- Fixed: Various security fixes.
Mozilla 通常每隔六個月釋出新版 Firefox,是以 Firefox 39 會在六月底釋放。
英文原文:Firefox 38 arrives with DRM tech required to watch Netflix video, Ruby annotation, revamped look on Android
HN 的讨論:https://news.ycombinator.com/item?id=9534096
https://news.ycombinator.com/item?id=9532417
————————————
極客頭條正式開通了微信公衆号,刊選每日精華内容和最新的資訊文章。在微信搜尋“csdn_geek”或掃描下方的二維碼。