Counter
Here’s a way to put a counter that updates once a second in a page. It’s based on the time. This isn’t some earth-shattering discovery, it’s trival. But somebody asked me. 123 is the count now!
Social Networks for the life of the world
Here’s a way to put a counter that updates once a second in a page. It’s based on the time. This isn’t some earth-shattering discovery, it’s trival. But somebody asked me. 123 is the count now!
Jetbrains, the Czech company that makes PhpStorm, WebStorm and Intellij-Idea, has their Gateway product in beta. It works like this: you run the Gateway software on your desktop machine — you know, the one with the nice display — and it connects to some other development machine to run your IDE. I’ve been using it … Read more
I have a Windows Presentation Foundation app using CEFSharp as a browser control. I’m porting it to use the new WebView2 control from Microsoft. That’s a workable idea now because it embeds a new Edge object in the WPF app. So, there’s no need to download the whole Chromium Embedded Framework mischegoss which saves download … Read more
You’re developing a web app on localhost. It uses one of the many Web APIs that require your page to come from an https origin (or from localhost). getUserMedia(), WebRTC, and the Web Authentication API are examples. The hard way Now you want to show it to a friend. Now what? Do you have to … Read more
The Firefox browser’s WebRTC and MediaRecorder functionality can handle H.264 (Advanced Video Codec) coding and decoding, but only with H.264’s constrained baseline profile. Other, higher, profiles just don’t work. And in Firefox’s WebRTC implementation (v87) attempts to use higher profiles fail more-or-less silently. Firefox works around all the patent issues with H.264 by using an … Read more
The WebRTC (browser-to-browser realtime conferencing) standard landed as a W3C recommendation version 1.0 on 26-January-2021. Thanks everybody who worked on it! Maybe there’s a future without adapter.js !
There’s a sweet little function in web browsers called the Web Beacon API. It’s a simplified version of the XHR or Fetch API that does a fire-and-forget POST operation to a server. It’s nice for a few reasons. First, browser Javascript (front-end Javascript) can use it without any need to process results coming back. Just … Read more
Working with browser Javascript on mobile devices, I found myself needing to report exceptions back to a server. (It’s hard to see the browser console log on a mobile device without connecting it to a desktop machine). Here’s what I did to make a suitable object that can be serialized. To use this you’ll need … Read more
A Choropleth is a colored map, typically showing information gathered by some kind of census. A well-known example is the New York Times’s COVID-19 map. Let’s say you have some data that’s coded by geographic area. For example, you might have a table showing the number of COVID cases per 100,000 people county by county in … Read more
About time! Apple announced in Safari 14, Web Extensions will be compatible with those used by Chromium and Firefox. They’ve bravely added a tool to XCode to help people convert their old Safari extensions to the what they call the new format. Most people probably won’t find that useful, having converted their Chromium extensions to … Read more