Do you use responsive images, lazy loading, or other optimizations? If not, why not? What affects your decisions?
Answer a few simple questions to help us understand your needs, and what we can do to make your life easier. Get Started

All Updates tagged: javascript

Better match results with String.prototype.matchAll()

Chrome 73 introduces the String.prototype.matchAll() method. It behaves similarly to match(), but offers a simple way to iterate over matches, especially when you need access to capture groups.

local_offer chrome73 javascript regex

Read article

New in Chrome 72

In Chrome 72, creating public class fields in JavaScript is now much cleaner, you can see if a page has been activated with the new User Activation API, localizing lists becomes way easier, and there’s plenty more. Let’s dive in and see what’s new for developers in Chrome 72!

local_offer chrome72 new-in-chrome intl es6 javascript user-activation

Read article

Bring your payment method to the web with the Payment Handler API

Chrome beta 68 ships with the Payment Handler API -- the new, open, and standard way for web-based payment applications to be offered as a payment option during checkout. It enables merchants to accept a wide variety of payment options within a native-browser experience.

local_offer javascript payment chrome68

Read article

Loading WebAssembly modules efficiently

When working with WebAssembly, you often want to download a module, compile it, instantiate it, and then use whatever it exports in JavaScript. This post explains our recommended approach for optimal efficiency.

local_offer javascript webassembly

Read article

#SmooshGate FAQ

What can #SmooshGate teach us about standards development and the Web Platform? This write-up gives an overview.

local_offer javascript

Read article

CSS Paint API

Houdini’s CSS Paint API allows you to programmatically draw CSS images.

local_offer css style houdini javascript chrome65

Read article

Upcoming regular expression features

An overview of the exciting new features coming to JavaScript regular expressions, including named captures, the dotAll flag, Unicode property escapes, and lookbehind assertions.

local_offer javascript regex

Read article

Introduction to the Budget API

The Budget API allows developers to perform background actions without notifying users, enabling use cases like silent push.

local_offer javascript origintrials

Read article

Chromium policy on JavaScript dialogs

Synchronous, app-modal JavaScript dialogs are commonly (and unfortunately) used to harm users. Because of this, the Chromium team highly recommends that you not use JavaScript dialogs.

local_offer policy dialog javascript

Read article

Bringing Easy and Fast Checkout with Payment Request API

Payment Request is a new API for the open web that makes checkout flows easier, faster and consistent.

local_offer javascript payment

Read article

Complexities of an Infinite Scroller

Infinite scrollers are a common UI pattern. Here we explore how to implement this pattern in a memory conservative way that performs at 60fps.

local_offer javascript css

Read article

Performance Observer: Efficient Access to Performance Data

The W3C Performance Timeline specification defines an interface for browsers to provide programmatic access to low level timing data. This opens the door to some interesting use cases like custom performance analysis, third party tools and more.

local_offer performance events chrome52 javascript

Read article

Improving Scroll Performance with Passive Event Listeners

New to Chrome 51, passive event listeners provide a major potential boost to scroll performance.

local_offer performance events chrome51 javascript scroll touch

Read article

Introducing ES2015 Proxies

ES2015 Proxies (in Chrome 49 and later) provide JavaScript with an intercession API, enabling us to trap or intercept all of the operations on a target object and modify how this target operates.

local_offer javascript es2015 chrome49

Read article

Getting Literal With ES6 Template Strings

Template String literals with embedded expressions. We've been waiting for this for ages. Literally

local_offer news es6 javascript ecmascript

Read article

Respond to change with Object.observe

local_offer news javascript

Read article

Optimizing JavaScript

local_offer news performance javascript

Read article

Subscribe