JavaScript Articles
-
using web workers: working smarter, not harder
This article is written by Malte Ubl, who has done a lot of great work with using Web Workers as part of the bespin project. In recent years, the user experience of web applications has grown richer and richer. In-browser applications like GMail, Meebo and Bespin give us an impression of how the web will […]
-
Creating a Multiplayer Game with TogetherJS and CreateJS
Bubble Hell Duel is a multiplayer HTML5 dogfighting game. The object of the game is to dodge bubbles launched from your opponent while returning fire. This game was written mainly as a prototype for learning and the source code is available on GitHub. You can try the game out in single or multiplayer here. Currently […]
-
The Web Developer Toolbox: Modernizr
This is the third in a series of articles dedicated to useful libraries that all web developers should have in their toolbox. The intent is to show you what those libraries can do and help you to use them at their best. This third article is dedicated to the Modernizr library. Introduction Modernizer is a […]
-
ClassList in Firefox 3.6
This article was writt by Anthony Ricaud, French OpenWeb enthusiast. Why you need classList A dynamic web application usually needs visual feedback from its inner mechanism or needs to display different visual elements based on users’ actions. To change the user interface easily, you can add/remove/edit elements through the DOM API (document.createElement, div.removeChild, elt.style.color, …) […]
-
Firefox 68: BigInts, Contrast Checks, and the QuantumBar
Firefox 68 is available today, sporting support for big integers, whole-page contrast checks checks for accessibility, and a completely new implementation of a core Firefox feature: the ever-awesome URL bar. Dan Callahan also reports on updated CSS scroll-snapping and other features, DOM API updates, next steps in the WebRender implementation, and more.
-
Introducing sphinx-js, a better way to document large JavaScript projects
Go beyond the flat, alphabetical lists of JSDoc, and document your JavaScript libraries in a way that’s easier to learn. As a bonus, keep your old JSDoc syntax.
-
asm.js performance improvements in the latest version of Firefox make games fly!
The latest version of Firefox which launched last week includes a major update to the user interface as well as to features like Sync. Another area in which this release brings significant improvements is in asm.js performance, which as we will see below is very important for things like games. To put that aspect of […]
-
Using window.matchMedia to do media queries in JavaScript
For people building web sites, Responsive Web Design has become a natural approach to making sure the content is available for as many users as possible. This is usually attended to via CSS media queries. However, there is a JavaScript alternative as well. Introducing window.matchMedia The way to approach media queries in JavaScript is through […]
-
Firefox 72 — our first song of 2020
Though we are moving to a more frequent four-week browser release cycle, the Firefox 72 release is feature-rich and full of goodies. It includes many requested DevTools' updates and improvements. We also introduce Shadow Parts and the CSS Motion Path, and useful new JavaScript features. Plus, Picture-in-picture for video is now enabled for Mac and Linux users too!
-
The Baseline Interpreter: a faster JS interpreter in Firefox 70
Modern web applications load and execute a lot more JavaScript code than they did just a few years ago. While JIT (just-in-time) compilers have been very successful in making JavaScript performant, we needed a better solution. We’ve added a new, generated JavaScript bytecode interpreter to the JavaScript engine in Firefox 70. Instead of writing a new interpreter from scratch, we found a way to do this by sharing most code with our existing Baseline JIT. Meet the new Baseline Interpreter.