Simple 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 ArticleThe EME Logger extension
Do you use Encrypted Media Extensions? If so, you may be interested in EME Logger: a Chrome extension from Google that logs EME events and calls to the DevTools console along with debugging...
View Articlenavigator.mediaDevices()
Modern browsers make it possible to select input and output devices including cameras, microphones and speakers. For example: On a phone, select the front or rear-facing camera. On a laptop, choose...
View ArticleInput Device Capabilities
Chrome 47 has a new feature that makes it easier to understand the how users interact with your site: InputDeviceCapabilities! Let’s step back a bit and learn why this is important. DOM input events...
View ArticleDevTools Digest: Tab reordering, Console is #2 and framework event listeners
Re-order DevTools tabs which ever way suits you best; see exactly where framework events were bound and block network requests to see which third party scripts slow you down. Better Panel Navigation:...
View ArticleAdding a Splash screen for installed web apps in Chrome 47
Over the past year we have focused on letting developers build sites and apps that feel like they are installed on the user’s system: Service Worker for letting you easily build offline first...
View ArticleNotification requireInteraction — A smoother notification UX on desktop
We’ve learnt a lot since Notifications and Push Messaging landed in the Chrome. One specific piece of feedback about Desktop class devices was that notifications would stay around and visible on 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 Article