[手动选题][news]: 20221213.7 ️ Firefox 108 unlocks the power of music on the web with new WebMIDI API support.md

This commit is contained in:
六开箱 2022-12-13 23:01:34 +08:00
parent 07d36f8bd5
commit 6c0b75be8a

View File

@ -0,0 +1,73 @@
[#]: subject: "Firefox 108 unlocks the power of music on the web with new WebMIDI API support"
[#]: via: "https://debugpointnews.com/firefox-108/"
[#]: author: "arindam https://debugpointnews.com/author/dpicubegmail-com/"
[#]: collector: "lkxed"
[#]: translator: " "
[#]: reviewer: " "
[#]: publisher: " "
[#]: url: " "
Firefox 108 unlocks the power of music on the web with new WebMIDI API support
======
![][1]
**Firefox 108 is now available to download, bringing the following new features.**
The final Firefox release of this year is here Firefox 108, closing an eventful year of this free and open-source web browser from Mozilla.
![Firefox 108 Running in Ubuntu][2]
### Firefox 108: Best new features
If you are a music enthusiast, then some good news for you. Firefox now supports the [WebMIDI API][3] inside your browser with proper access controls. When you try to access MIDI devices via Firefox, then you get a prompt for installing a “[site permission add-on][4]” to enable this API.
In addition, Firefox 108 enabled import maps by default, which means web pages can now control the behaviour of JavaScript imports more easily. And if you use Firefox, youll be happy to hear that it now supports proper colour correction for images tagged with ICCv4 profiles.
Furthermore, developers added a handy keyboard shortcut press SHIFT+ESC to open the Process Manager and quickly identify any processes using too many resources. And on Windows 11, Firefox added efficiency mode for processes used in background tabs to help save on resources.
Elsewhere, your browsers bookmark toolbar gets an option “Only show on New Tab” state, which now works correctly for blank new tabs. Also improved in this release is the handling of non-ASCII characters while exporting PDF forms from web pages.
If you are a web developer, Firefox 108 also arrives with a handful of Math function updates which are summarised alongside other vital changes:
- The `source` element supports `height` & `width` attributes when it is a child of a `picture` element.
- Trigonometric functions are now enabled with the `layout.css.trig.enabled` preference set to true by default. This allows the use of sin(), cos(), tan(), asin(), acos(), atan(), and atan2() functions
- CSS `calc-constant`type is implemented to allow for well-known constants such as pi and e within math functions
- Container query length units are now supported via the the `layout.css.container-queries.enabled` preference, which is set to false by default
### Download and update
For Linux distributions, if you used Firefox via your distributions official repository, then you should get this update within a couple of days from today.
However, you can also download the compressed version of this release from the below page. For other download options, do visit our [Firefox download guide][5].
[Download Firefox 108][6]
Happy browsing!
- [Official release notes][7]
- [Beta108 release notes][8]
- [Developer release notes][9]
--------------------------------------------------------------------------------
via: https://debugpointnews.com/firefox-108/
作者:[arindam][a]
选题:[lkxed][b]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://debugpointnews.com/author/dpicubegmail-com/
[b]: https://github.com/lkxed
[1]: https://debugpointnews.com/wp-content/uploads/2022/04/firefox-head.jpg
[2]: https://debugpointnews.com/wp-content/uploads/2022/12/Firefox-108-Running-in-Ubuntu.jpg
[3]: https://developer.mozilla.org/en-US/docs/Web/API/Web_MIDI_API
[4]: https://support.mozilla.org/en-US/kb/site-permission-addons
[5]: https://www.debugpoint.com/download-firefox/
[6]: https://ftp.mozilla.org/pub/firefox/releases/108.0/
[7]: https://www.mozilla.org/en-US/firefox/108.0/releasenotes/
[8]: https://www.mozilla.org/en-US/firefox/108.0beta/releasenotes/
[9]: https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/108