or AirPlay video support in iOS Safari — a bookmarklet By mathiasbynens.be Published On :: Thu, 03 Feb 2011 11:23:40 +0100 As you may have heard, the upcoming iOS 4.3 will support AirPlay streaming in Mobile Safari. Previously video streaming was only available in Apple-controlled iOS applications like the YouTube and iPod/Video apps, but the new iOS 4.3 beta opens up AirPlay support to both third party App Store applications, as well as embedded web videos using either the Quicktime plugin () or the element. Full Article
or Unquoted attribute values in HTML and CSS/JS selectors By mathiasbynens.be Published On :: Mon, 13 Jun 2011 10:22:53 +0200 This is one of those posts I wrote just to be able to link back to it later. I see a lot of questions on the subject, and even though I don’t mind explaining the same thing over and over again, it’s probably easier to just write it down once. Full Article
or How I detect and use `localStorage`: a simple JavaScript pattern By mathiasbynens.be Published On :: Fri, 29 Jul 2011 15:09:40 +0200 By now, everyone knows how to detect and use localStorage. However, I’ve been using a seemingly unconventional (but slightly more efficient) technique to do so. Since I haven’t seen it documented anywhere else, here goes! Full Article
or JavaScript’s internal character encoding: UCS-2 or UTF-16? By mathiasbynens.be Published On :: Fri, 20 Jan 2012 22:18:54 +0100 Does JavaScript use UCS-2 or UTF-16 encoding? Since I couldn’t find a definitive answer to this question anywhere, I decided to look into it. The answer depends on what you’re referring to: the JavaScript engine, or JavaScript at the language level. Full Article
or How to support full Unicode in MySQL databases By mathiasbynens.be Published On :: Mon, 30 Jul 2012 15:16:16 +0200 Are you using MySQL’s utf8 charset in your databases? In this write-up I’ll explain why you should switch to utf8mb4 instead, and how to do it. Full Article
or Reserved keywords in JavaScript By mathiasbynens.be Published On :: Wed, 12 Jun 2013 19:46:35 +0200 Looking for a list of all reserved words in JavaScript? You’ve come to the right place. I recently needed such a list myself, but ended up comparing the reserved keywords in all ECMAScript versions as well. The result is listed below, for future reference. Full Article
or Loading JSON-formatted data with Ajax and `xhr.responseType='json'` By mathiasbynens.be Published On :: Wed, 24 Jul 2013 23:14:15 +0200 This post explains a hidden gem in the XMLHttpRequest standard that simplifies fetching and parsing JSON data through Ajax. Full Article
or Hiding JSON-formatted data in the DOM with CSP enabled By mathiasbynens.be Published On :: Tue, 27 Aug 2013 16:32:01 +0200 If Content Security Policy is enabled for protection against cross-site scripting attacks (i.e. the unsafe-inline option is not set), the use of inline