Web APIs Articles
-
More details about the WebAPI effort
As we’ve hoped, there has been a lot of interest in the newly announced WebAPI effort. So I figured that I should explain in more detail some of my thinking around what we’re hoping to do and the challenges that are ahead of us. Goal The goal of this effort is to create APIs to […]
-
Using the new theming API in Firefox
Explore the new theming API for Firefox Quantum, and see what you can do with lightweight theming, dynamic themes, per-window themes, and a quick look at what's next for themes in 2018.
-
Pointer Events now in Firefox Nightly
[Important Update: After this article was published, Pointer Events were disabled in Firefox Nightly because of a stability bug. They will be re-enabled after this bug is fixed. You can still test Pointer Events in Firefox by setting dom.w3c_pointer_events.enabled to “true” in about:config.] This past February Pointer Events became a W3C Recommendation. In the intervening […]
-
Using WebAPIs to make the web layer more capable
Part of making both Firefox OS and the web as a platform a stronger layer and alternative for developers, we are working on a number of WebAPIs. I’d like to introduce you them here! Many things covered in this blog post are also available in a talk I’ve given on this topic. Standardization When you […]
-
ArchiveAPI – read out archive file contents + Introducing Bleeding Edge
Working with files on the web has been a challenge for a long time, and when things like various File APIs have surfaced, it has made me really happy! Now on to the latest edition: ArchiveAPI, giving the ability to work with archive files. Introducing Bleeding Edge Before I start talking about the ArchiveAPI, I […]
-
WebRTC efforts underway at Mozilla!
Last week, a small team from Mozilla attended IETF 83 in Paris, and we showed an early demo of a simple video call between two BrowserID-authenticated parties in a special build of Firefox with WebRTC support. It is still very early days for WebRTC integration in Firefox, but we’re really excited to show you something […]
-
Using the Battery API – Part of WebAPI
Detecting battery level in a device or computer can help you inform the user of the current status. Within Mozilla’s WebAPI, we have the Battery API to offer that possibility.
-
Referrer and cache control APIs for fetch()
Around a year ago, we wrote about the new fetch() API. The WHATWG Fetch API provides a modern way to fetch network resources and gives you fine grained control over the details of the request and response. If you’re not familiar with the Fetch API, it would be a nice idea to read about it […]
-
Embedding an HTTP Web Server in Firefox OS
Nearing the end of last year, Mozilla employees were gathered together for a week of collaboration and planning. During that week, a group was formed to envision what the future of Firefox OS might be surrounding a more P2P-focused Web. In particular, we’ve been looking at harnessing technologies to collectively enable offline P2P connections such […]
-
Ambient Light Events and JavaScript detection
I think that one of the most interesting things with all WebAPIs we’re working on, is to interact directly with the hardware through JavaScript, but also, as an extension to that, with the environment around us. Enter Ambient Light Events. The idea with an API for ambient light is to be able to detect the […]