In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article is to share with you about the desktop payment requests API and Web Share API as well as WebUSB in the JavaScript Modules module. The editor thinks it is very practical, so I share it with you. I hope you can get something after reading this article. Let's take a look at it.
JavaScript module (Modules)
Modules allows developers to declare script dependencies, which are already popular with third-party build tools, which use them to package only the scripts they need. This version adds native support for JavaScript modules through new elements.
Native support means that browsers can acquire fine dependencies in parallel, use caching to avoid repetition throughout the page, and ensure that scripts are executed in the correct order without the need for build steps.
Further reading, learn more about JavaScript modules and the aspects of the JavaScript language affected by modules.
Payment request API (Payment Request API) for desktop environment
Payment Request API is now available for Windows,Mac,Linux and ChromeOS, and the Android platform was supported last year. Developers can now provide a secure, seamless checkout experience across platforms.
Read further, integration guide.
Web Share API
To make it easy for users to share content on social networks, developers have to manually integrate sharing buttons into their sites for each social service. This often makes it difficult for users to easily use customized sharing services, while pages that contain third-party code virtually increase code size and security risks.
Web sites can now use the new navigator.share API on Chrome for Android to trigger native Android sharing dialogs, allowing users to easily share text or links with any installed native application. In future releases, this API can also be shared with installed Web applications.
WebUSB
Most hardware peripherals, such as keyboards, mice, printers, and game consoles, are supported by the advanced Web platform API. To use professional educational, scientific, or industrial USB peripherals, users must find and install potentially unsafe drivers and software with system-level permissions.
Chrome now supports WebUSB API, allowing network applications to communicate with user-authorized peripherals. This enables all the functions provided by these devices to keep the network secure.
The above are the payment requests API, Web Share API and WebUSB on the desktop side of the JavaScript Modules module. The editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.