Home > headlines > Chrome 96 has been updated with 5 useful features!

Chrome 96 has been updated with 5 useful features!

Release: 2021-12-01 14:17:33
forward
2515 people have browsed it

I received the update push for version 96 of Chrome. I took a quick look and found that some interesting things have been updated. Let’s take a look at what’s included~

First download the Chrome Beta version to experience it. Chrome 96 Ha

Chrome 96 has been updated with 5 useful features!

Chrome Beta Let’s give a score to each function~ Full score is five stars⭐️⭐️⭐️⭐️⭐️

CSS Overview

I just opened the console, and the first thing that caught my eye was CSS Overview

Chrome 96 has been updated with 5 useful features!

What is CSS Overview? In fact, it analyzes your current page and generates a CSS report to help developers analyze whether there is potential CSS that can be improved on the page, such as unused CSS, mismatched fonts, overall color usage, number of media queries, etc. Wait

Say nothing but try it again

Chrome 96 has been updated with 5 useful features!

Haha, I specially converted it into Chinese to demonstrate to you. I feel that the report generated by this function is more suitable for simple analysis and problem discovery. The unused CSS is not absolute because some classes are dynamically loaded, and then the corresponding CSS style can be applied

Score: ⭐️ ⭐️⭐️

Dark theme

I am blown away by this! ! Some time ago, I was looking for a useful browser plug-in to switch to dark themes every day. To be honest, there was no useful one. This is because Chrome does not natively support dark themes!

Here, let me teach you how to turn it on with an animation~

Chrome 96 has been updated with 5 useful features!

Isn’t it cool to turn on dark mode? The browser natively supports dark mode. The compatibility of this kind of page is definitely the best. Anyway, I haven't found any problems yet. (My eyes were saved T^T)

Rating: ⭐️⭐️⭐️⭐️⭐️

Copy CSS styles with JS attributes

You should all Is there an operation to copy styles from the browser to the editor?

Chrome 96 has been updated with 5 useful features!

#Copying CSS styles I saw that the copied formats are used to write in .css files. It is very easy to use. Each attribute also ends with;

. However, the CSS writing method in some places is not like this, just like the object writing method of the inline Style attribute in React, such as:

const APP = () => {return ( )} If you paste the CSS you just copied, You still have to change camel case, semicolon to comma, px to add quotes, etc.

And Chrome 96 has updated a menu function that can be directly copied to the format of a style object similar to React inline Style

Chrome 96 has been updated with 5 useful features!

Although many projects have code formatting, this function can also be said to be very convenient~

Rating: ⭐️⭐️⭐️

Network's Payload Panel

What is the Payload Panel? In fact, we often look at the request parameters when making requests in Network. Well, this

Chrome 96 has been updated with 5 useful features!

is actually the request parameter. This is what we pay the most attention to. Now Chrome 96 Pull it out separately and put it in a panel

Chrome 96 has been updated with 5 useful features!

Simple and crude function, you no longer have to click in and slide down~

Rating: ⭐️⭐️⭐️⭐️⭐️

Reporting API

This is an experimental feature, which means it will take a period of improvement and trial. If we want to use it, we must Open it in the settings of Chrome devtool. After opening it, you need to restart the devtool

Chrome 96 has been updated with 5 useful features!

Where can I look after the Reporting API is turned on? At this!

Chrome 96 has been updated with 5 useful features!

Reporting API You must be concerned about what it does. As its name suggests, it is used to report. What does it report? In fact, it is to help you monitor the page, then monitor some unfriendly things, and then report the information

What are unfriendly things? For example, online errors, page security issues, deprecated APIs still in use, browser crashes, etc., the Reporting API will help you report all these situations. When you are free, you can review them in the report and solve them. Question

By the way, what information does it report?

  • Timestamp: Reporting time

  • body: Report data

  • #type: Reporting type

  • url: The target url to generate the report

  • user_agent: User-Agent in the request header

I monitored After a few pages, I finally collected a report

Chrome 96 has been updated with 5 useful features!

Report the information Well, this article will not introduce the specific use of this API, but now it seems that this function seems It’s pretty good~ It’s like a running quality monitor

Score: ⭐️⭐️⭐️⭐️ (It hasn’t been used on a large scale yet, so I’ll give it four stars for fear of being proud)

Finally

Which one of these 5 new features in the Chrome 96 update do you like best? Welcome to leave a message in the comment area

Related labels:
source:零一
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template