b

Diphu-Guwahati bus service resumes

Diphu-Guwahati bus service resumes




b

Uddab Bharali develops new sanitization vaporizer concept

Uddab Bharali develops new sanitization vaporizer concept




b

Dainik Asam ex-scribe passes away

Dainik Asam ex-scribe passes away




b

Centre urged to confer Bharat Ratna on Upendranath Brahma

Centre urged to confer Bharat Ratna on Upendranath Brahma




b

Nagaon ASP, family members under home quarantine

Nagaon ASP, family members under home quarantine




b

Over 500 migrants from across India stuck in Dhubri

Over 500 migrants from across India stuck in Dhubri




b

Mixed response to State Govt move on labour reforms

Mixed response to State Govt move on labour reforms




b

Amended building construction bye-laws hailed

Amended building construction bye-laws hailed




b

Startup designs foldable japi

Startup designs foldable japi




b

Youth sanitizes village, distributes masks

Youth sanitizes village, distributes masks




b

Cancer patients from Mumbai to reach tomorrow

Cancer patients from Mumbai to reach tomorrow




b

Existing BBCI patients to get therapy

Existing BBCI patients to get therapy




b

Bulletproof HTML5 `<details>` fallback using jQuery

The HTML5

element is currently not natively supported in any browser natively supported in Chrome 12 and up. This makes it a little hard to guess how exactly this new element will behave, but reading the spec gives us a pretty good idea. While we wait for browsers to implement it, how about we create a fallback/polyfill for browsers who don’t understand
(yet)?




b

How to enable Safari Reader on your site?

Yesterday, Mike Taylor raised a very interesting question on Twitter: “Anybody know what Safari 5 requires for a page to be Reader-ifiable?”




b

The `id` attribute got more `class`y in HTML5

One of the more subtle yet awesome changes that HTML5 brings, applies to the id attribute. I already tweeted about this a few months ago, but I think this is interesting enough to write about in more than 140 characters.




b

Bulletproof JavaScript benchmarks

The following article, written by John-David Dalton and yours truly, was published as part of the Performance Calendar series in 2010.




b

Completing Dropbox’s Dropquest 2011 in 60 seconds

Dropbox organized a scavenger hunt named Dropquest the other day. The first 81 people to complete all steps won some nice prizes, but everyone participating in the quest can get 1 GB of extra Dropbox storage space.




b

AirPlay video support in iOS Safari — a bookmarklet

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




b

Everything you always wanted to know about touch icons

“Touch icons” are the favicons of mobile devices and tablets. Adding them to your web page is relatively easy, but it gets more complicated as you target different devices and firmware versions. Let’s dive in!




b

Using the `oninput` event handler with `onkeyup`/`onkeydown` as its fallback

HTML5 standardizes the oninput event handler, which should be used to detect user input in JavaScript. Sure, you could use onkeydown or onkeyup instead, but those were never really designed for this particular use case, and it shows.




b

Unquoted attribute values in HTML and CSS/JS selectors

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.




b

HTML element + attribute notation

Recently, a popular new addition was made to the HTML spec: anchors may now have a download attribute. That’s not what this post is about though — instead, I’d like to go over some of the different notations people used to refer to this new element + attribute combo in tweets and blog posts.




b

JavaScript `foo.prototype.bar` notation

As a follow-up to the post documenting a few popular HTML element + attribute notations, here’s a similar one about JavaScript.




b

Ambiguous ampersands

In this post, we’ll take a closer look at what happens if there’s an unencoded ampersand that’s not part of a character reference in your HTML code. Is it valid? Is it invalid? And what do “ambiguous ampersands” have to do with all this?




b

The smallest possible valid (X)HTML documents

I thought it would be fun to document the smallest possible valid HTML documents for each version, so here goes :)




b

Valid JavaScript variable names in ES5

Did you know var π = Math.PI; is syntactically valid JavaScript? I thought this was pretty cool, so I decided to look into which Unicode glyphs are allowed in JavaScript variable names, or identifiers as the ECMAScript specification calls them.




b

Unquoted property names / object keys in JavaScript

Fun fact: var foo = { H̹̙̦̮͉̩̗̗ͧ̇̏̊̾Eͨ͆͒̆ͮ̃͏̷̮̣̫̤̣Cͯ̂͐͏̨̛͔̦̟͈̻O̜͎͍͙͚̬̝̣̽ͮ͐͗̀ͤ̍̀͢M̴̡̲̭͍͇̼̟̯̦̉̒͠Ḛ̛̙̞̪̗ͥͤͩ̾͑̔͐ͅṮ̴̷̷̗̼͍̿̿̓̽͐H̙̙̔̄͜: 42 }; is valid JavaScript. It may not be immediately obvious, but the real surprise here is that the Cthulhu-esque property name is not surrounded by quotes. Intrigued by this, and having written about the similar topic of JavaScript identifiers before, I decided to look into valid property names in JavaScript. When do they need to be quoted? When can the quotes be omitted? And in which cases can dot notation be used instead of bracket notation to get or set a property based on its name?




b

How to speedrun Dropbox’s Dropquest 2012

Are you a Dropbox user? By completing this year’s Dropquest, you can get 1 GB of extra Dropbox storage space, for free. Here’s how to do that as fast as possible.




b

How to support full Unicode in MySQL databases

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.




b

Hiding JSON-formatted data in the DOM with CSP enabled

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