Hacks.Mozilla.Org: Firefox 66: The Sound of Silence |
Firefox 66 is out, and brings with it a host of great new features like screen sharing, scroll anchoring, autoplay blocking for audible media, and initial support for the Touch Bar on macOS.
These are just highlights. For complete information, see:
Starting with version 66, Firefox will block audible autoplaying video and audio. This means media (audio and video) have to wait for user interaction before playing, unless the muted
property is set on the associated HTMLMediaElement. Blocking can be disabled on a case-by-case basis in the site information overlay:
Now you get to decide when to disturb the sound of silence.
Note: We’re rolling out blocking gradually to ensure that it doesn’t break legitimate use cases. All Firefox users should have blocking enabled within a few days.
Firefox now implements scroll anchoring, which prevents slow-loading content from suddenly appearing and pushing visible content off the page.
The Touch Bar on macOS is now supported, offering quick access to common browser features without having to learn keyboard shortcuts.
Too many tabs? The overflow menu sports a new option to search through your open tabs and switch to the right one.
Astute users will note that clicking on “Search Tabs” focuses the Awesomebar and types a
%
sign in front of your query. Thus, while the menu entry makes tab search much more discoverable, you can actually achieve the same effect by focusing the Awesomebar and manually typing a %
sign or other modifier.
Speaking of shortcuts, you can now manage and change all of the shortcuts set by extensions by visiting about:addons
and clicking “Manage Extension Shortcuts” under the gear icon on the Extensions overview page.
We’ve completely redesigned Firefox’s security warnings to better encourage safe browsing practices (i.e., don’t ignore the warnings!)
Firefox is the first browser to support animating the CSS Grid grid-template-rows
and grid-template-columns
properties, as seen in the video below.
We’re also the first browser to support the overflow-inline
and overflow-block
media queries, which make it possible to apply styles based on whether (and how) overflowing content is available to the user. For example, a digital billboard might report overflow-block: none
, while an e-reader would match overflow-block: paged
.
Furthermore, Firefox now supports:
[attr]
selectors.min-content
and max-content
size keywords.The new getDisplayMedia
API enables screen sharing on the Web similarly to how getUserMedia
provides access to webcams. The resulting stream can be processed locally or shared over the network with WebRTC. See Using the Screen Capture API on MDN for more information.
Mozilla is using getDisplayMedia
in Bugzilla to allow people to take and attach screenshots to their bug reports, directly from inside the browser.
Also, starting with Firefox 66, InputEvent
now has a read-only property, inputType
. This distinguishes between many different types of edits that can happen inside an input field, for example insertText
versus insertFromPaste
. To learn more, check out the documentation (and live demo) on MDN.
Lastly, we’ve made a few changes to how Firefox works under the hood:
From all of us at Mozilla, thank you for choosing Firefox!
https://hacks.mozilla.org/2019/03/firefox-66-the-sound-of-silence/
Комментировать | « Пред. запись — К дневнику — След. запись » | Страницы: [1] [Новые] |