DevTools Digest: Film strip and a new home for throttling
DevTools news, as fresh as it gets The first news item in this post is a little meta – it’s this update itself! Every now and then but at least once a month, I’ll summarize what’s happening in the...
View ArticleImproved DOM breadcrumbs
Did you know the Elements Panel has a Breadcrumb trail? It can help you trace your steps when you navigate the DOM. In Canary, you can enable the Material Design experiment. A few nice things: The...
View ArticleLive-edit CSS in Sources
Two things: You can edit CSS in the Sources Panel. Changes apply to the page in real time (no save required). Alt + Up to increment numeric values (Alt + Down to decrement).
View ArticleA new home for DevTools
You might already have experienced Google’s new one-stop destination for everything web-related from browsing Web Fundamentals, the Showcase or Shows. Today, we are welcoming DevTools to the party and...
View ArticleEdit HTML in the Console Panel
The DOM node context menu, which you may recognize from the elements panel, is also present in the console panel. Log a DOM node to the console. Right click on it. Select Edit as HTML or Edit Text....
View ArticleFive tricks to use in the Console Panel
Use the inspect() command to jump straight to a passed-in DOM node inspect($('p')) Use the copy() command to copy text to your clipboard copy(Object.keys(window)) // stores ["top", "window",...
View ArticleEasily duplicate DOM nodes
These are essentially cut/copy and paste operations. You can easily change the DOM without having to edit the HTML as a giant string. Right click on a node and select Copy. You can paste in your code...
View ArticleUsing poster images on plugin content
Several weeks ago, Chrome announced a new content setting that automatically pauses plugin content that it detects to be peripheral to the main content of the site will go live to all users of Chrome...
View ArticleNew Release of Material Design Lite - 1.0.4
Material Design Lite 1.0.3 (and a regression fixing 1.0.4) are out! This release has focused on library, templates, docs and build process fixes. We’ve had over 140 commits from our many contributors...
View ArticleSimple keyboard tricks to use in the Styles Pane
You can Tab through the significant portions of a CSS Rule. This includes: A selector (e.g. h1) A property (e.g. color) A value (e.g. green) Did you know you can also Shift + Tab to cycle backwards?...
View ArticleDevTools Digest: Aggregated Timeline Details, Color Palettes and More
It’s been a feature-rich month in Chrome Canary. Read on to learn which third party scripts cause perf issues on your site with the Aggregated Details in Timeline, how to choose consistent colors with...
View ArticleThe larger-than advanced Network Panel filter, and a few others
Use the Advanced Network Panel Filtering feature to narrow down resources to exactly what you want to find. For example: larger-than:100 will find and filter for resources larger than 100 bytes You...
View ArticleUsing requestIdleCallback
Many sites and apps have a lot of scripts to execute. Your JavaScript often needs to be run as soon as possible, but at the same time you don’t want it to get in the user’s way. If you send analytics...
View ArticleUsing the web app manifest to create a solid color loading screen
When you launch your web app from the home screen a number of things happen behind the scenes: Chrome needs to launch. The renderer that displays the page needs to start up. Your site needs to loaded...
View ArticleUsing the web app manifest to specify a site wide theme colour
Chrome introduced the concept of a theme color for your site in 2014. The theme color is a hint from your web page that tells the browser what color to tint UI elements such as the address bar. For...
View ArticleRolling out Public Key Pinning with HPKP Reporting
Using SSL on your site is an important way to preserve security and privacy for your users. But enabling SSL isn’t the end of the story: there are many steps you can take to further enhance the...
View ArticleTab Discarding in Chrome: a Memory-Saving Experiment
Reducing Chrome’s memory footprint is one of the team’s top priorities this year. We’ve already seen up to a 45% reduction in GMail’s memory usage thanks to improvements in V8’s garbage collection...
View ArticleAutomating resource selection with Client Hints
Building for the web gives you unparalleled reach. Your web application is a click away and available on most every connected device—smartphone, tablet, laptop and desktop, TV, and more—regardless of...
View ArticleHistory API: Scroll Restoration
Using the History API to manage your URLs is awesome and, as it happens, a crucial feature of good web apps. One of its downsides, however, is that scroll positions are stored and then, more...
View ArticleUpdates to the service worker cache API
I’ve been asked to write this post on a fairly minor update to the service worker cache API. I didn’t think it warranted its own article, but after a long debate that eventually came down to a game of...
View Article