Chrome 61 now supports JavaScript modules natively, unifying the way modular JavaScript can be written. You can now use navigator dot share to trigger the native Android share dialog. And the WebUSB API has landed, allowing web apps to access user permitted USB devices.
Pete LePage has all the details and how you can use these new developer features in Chrome 61!
Chrome 61 Beta blog post: https://goo.gl/1mpPoF
Modules
https://goo.gl/XO5nLF
https://goo.gl/TvdUmD
https://goo.gl/8GnbJu
Web Share
https://goo.gl/bHfO86
WebUSB
https://goo.gl/Tb5zfq
https://goo.gl/1ULm2v
You can learn more about origin trials at https://goo.gl/6FP1a5
Subscribe to the Google Developers channel at https://goo.gl/WkxCU5
Original source
26 responses to “Chrome 61: JavaScript Modules, WebUSB, WebShare and more”
Hello, Chrome developers! There are currently no ways to protect from web crypto miners on mobile versions of chrome. Please consider adding native anti-mining protection or we'll get more phone explosions from CPU overheating.
Great
Hmm, https://developers.google.com/web/updates/2017/09/nic61 states Chrome 61 gets #RGBA and #RRGGBBAA support. But I cannot seem to get it to work. It says invalid property. Chrome 63 Canary works.. Mozilla MDN states it only works on Chrome 62.. Does this mean Google doesn't know what is in their own browser?
Still having trouble rendering simple animations tho.
The sad news is we can't use those new features immediately.
The modular JS would be awesome! thanks to chrome team <3
<3
Why do you need two dudes with the separate videos to list the new features?
Asked about it in another video but … what about ES6 modules in web workers? is it a thing?(e.g. `new Worker('app.js')` where app.js uses import syntax)
This is awesome! Thank to the google chrome developers. You rock Guys!
<h1>Hello Safari</h1>
How can other browsers compete?
"In the future, the same system will be available in Node"
Too bad those geniuses decided to change the extension for modules to .mjs!
kawaii polo shirt
Warning – scroll-behaviour: smooth is pretty buggy.
We need to have some attachment with this Web Share API. that would be really helpful when we are sharing through the native apps (SMS, Whatsapp, Gmail with Attachment) with rich media content. We han have something like
navigator.share({
title: document.title,
text: "Hello World",
url: window.location.href,
attachment: ["www.my.web/attachment/url.jpg","www.my.web/attachment/url.mp4"]
}).then(() => console.log('Successful share'))
.catch(error => console.log('Error sharing:', error));
How to enable flash in incognito mode??????.. after the upgrade to chrome 61 i'ts not working!!! :(… anyone???
Very clean update on Windows 10 & iOS today. Thanks, guys!
Chrome is going to be the truth application abstraction platform in all OS.
Very nice!!
Cara este ano o desenvolvimento web teve um up sensacional. Tá loko.
Web platform is dominating the app definition by the mean of unifying.
More robust JavaScript performance would be added in the near future probably to the browsers and also NodeJS.
Exciting!
nipples
When all browsers support native modules, is webpack then obsolete, I just learned it, and now it seems like it's not going to be used anymore soon? What are the benefits of using webpack over native modules?
We need a "send ie to trash" feature.
I'm more excited about this update than all of the AI researches combined. Web platform is becoming so cool!