Push notifications to mobile devices using browser APIs

Tom-Einar Sørensen

This proof of concept walks you through how to send free messages from your server to the browser on both desktop and mobile, without having to install anything on the end user device or computer. It also offers tips and tricks for some common scenarios. The motivation for doing this…

Debugging WebSocket communication made easy

Hans Arne Vartdal

As we all know, any cool web application have some sort of WebSocket communication, either it is based on signalR, socket.io, or some other extremely cool technology. Developing these solutions make developers feel like wizards, as perfectly demonstrated in this clip from The Big Bang Theory. That is, when…

Improve rendering performance with CSS3 enabled hardware acceleration

Hans Arne Vartdal

Web apps are more often than before used on mobile devices, and thus their performance compared to native apps. Some believe that web apps, or hybrid apps, never can have as fast and fluid graphical interfaces as native apps. Luckily there are some nifty tricks out there to help us…

Setting user-agent for remote chromedriver in Selenium

Harald Schult Ulriksen

Setting the user-agent in .net is not straight forward. Using the chrome webdriver directly this can be done using chromeoptions var ios6ua = "Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5376e Safari/8536.25" var…

Microsoft.AspNet.Web.Optimization Minifies Mediaqueries wrong

Yngve Bakken Nilsen

Update: The bug mentioned here is now fixed in both WebGrease (making sure there are leading spaces) and in Chrome (making sure it parses mediaqueries without leading spaces in front of keywords). However, since this is a proposal in the future CSS spec that spaces are mandatory, I'll leave the…