on

Inter, AC Milan back training after lockdown in coronavirus epicentre

Inter, AC Milan back training after lockdown in coronavirus epicentre




on

Virat, Anushka donate Rs 5L each

Virat, Anushka donate Rs 5L each




on

Batra gets extension as FIH president

Batra gets extension as FIH president




on

Maradona autographs shirt to help poor

Maradona autographs shirt to help poor




on

Arunachal Governor reviews State education scene

Arunachal Governor reviews State education scene




on

Mizoram’s lone COVID-19 patient discharged

Mizoram’s lone COVID-19 patient discharged




on

Arunachal Govt imposes cess on liquor sales

Arunachal Govt imposes cess on liquor sales




on

TU students demand to reconsider quarantine centre decision

TU students demand to reconsider quarantine centre decision




on

Uddab Bharali develops new sanitization vaporizer concept

Uddab Bharali develops new sanitization vaporizer concept




on

Centre urged to confer Bharat Ratna on Upendranath Brahma

Centre urged to confer Bharat Ratna on Upendranath Brahma




on

Nagaon ASP, family members under home quarantine

Nagaon ASP, family members under home quarantine




on

Mixed response to State Govt move on labour reforms

Mixed response to State Govt move on labour reforms




on

Amended building construction bye-laws hailed

Amended building construction bye-laws hailed




on

Online short story contest winner announced

Online short story contest winner announced




on

Liquor shops closed pending use of new MRP on products

Liquor shops closed pending use of new MRP on products




on

Hapless woman’s case exposes poor distress response mechanism in State

Hapless woman’s case exposes poor distress response mechanism in State




on

Culling only way to contain African swine fever: expert

Culling only way to contain African swine fever: expert




on

NGO charts unique way to induce people into donating

NGO charts unique way to induce people into donating




on

Centre’s advisory to NE states on returnees during lockdown

Centre’s advisory to NE states on returnees during lockdown




on

Dental hostel tagged containment zone

Dental hostel tagged containment zone




on

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?”




on

Thoughts on Safari Reader’s generated HTML

Every time you click that shiny little Reader button, Safari generates an HTML document and displays it as an overlay to the original document. Let’s have a look at the HTML and CSS used in this process, and find out how we can mess with it.




on

The XML serialization of HTML5, aka ‘XHTML5’

A while ago, I was wondering how exactly one triggers HTML5’s XML mode — let’s call it XHTML5 from now on. You know, just out of curiosity. I’ll always prefer HTML over XHTML because it’s much less verbose and I like to keep things simple.




on

Using `setTimeout` to speed up `window.onload`

A few days ago, Martín Borthiry contacted me with a question. He had been using the optimized asynchronous Google Analytics snippet for a while, and noticed an additional speed gain when wrapping it inside a setTimeout() with a delay of 0 milliseconds. His tests made it pretty clear that this technique was indeed slightly faster, but Martín had no clue why.




on

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.




on

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!




on

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.




on

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.




on

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.




on

Unquoted font family names in CSS

Are the quotes in font-family: 'Comic Sans MS' required, or not? If you thought the answer was yes, you may want to read on.




on

Loading JSON-formatted data with Ajax and `xhr.responseType='json'`

This post explains a hidden gem in the XMLHttpRequest standard that simplifies fetching and parsing JSON data through Ajax.




on

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