ed

Ayushmann Khurrana all set to release a dedication to 'Ma' on Mot...

Ayushmann Khurrana all set to release a dedication to 'Ma' on Mot...




ed

'Completely surprised to see him do a character like that so beautiful...

'Completely surprised to see him do a character like that so beautiful...




ed

Hizbul chief Syed Salahuddin claims responsibility for Handwara attack, adm...

Hizbul chief Syed Salahuddin claims responsibility for Handwara attack, adm...




ed

AAP MLA Prakash Jarwal arrested in connection with doctor's suicide

AAP MLA Prakash Jarwal arrested in connection with doctor's suicide




ed

Govt allows opening 3000 CBSE affiliated schools for evaluating class 10, 1...

Govt allows opening 3000 CBSE affiliated schools for evaluating class 10, 1...




ed

Prince Harry-Meghan Markle's biography 'Finding Freedom' to...

Prince Harry-Meghan Markle's biography 'Finding Freedom' to...




ed

Top sports news: A grey-bearded MS Dhoni enjoys playtime with Ziva, T2...

Top sports news: A grey-bearded MS Dhoni enjoys playtime with Ziva, T2...




ed

Taiwan Dragons vs Hsinchu Titans, Dream11 Prediction: Best picks for TDG vs...

Taiwan Dragons vs Hsinchu Titans, Dream11 Prediction: Best picks for TDG vs...




ed

Taiwan Dragons vs Taiwan Daredevils, Dream11 Prediction: Best picks fo...

Taiwan Dragons vs Taiwan Daredevils, Dream11 Prediction: Best picks fo...




ed

Hsinchu Titans vs Taiwan Daredevils, Dream11 Prediction: Best picks for HST...

Hsinchu Titans vs Taiwan Daredevils, Dream11 Prediction: Best picks for HST...




ed

Idukki declared COVID-free again

Inclusion on green zone list only if there are no cases for 21 days




ed

Police drone spots tiger that killed plantation worker

Traps laid at Thannithode to capture animal




ed

21,812 have arrivedfrom other States

Another 54,262 have applied for passes




ed

Djoko will need vaccine if required: Nadal

Djoko will need vaccine if required: Nadal




ed

Arunachal Governor reviews State education scene

Arunachal Governor reviews State education scene




ed

Mizoram’s lone COVID-19 patient discharged

Mizoram’s lone COVID-19 patient discharged




ed

Nagaland tests more suspected samples

Nagaland tests more suspected samples




ed

Centre urged to confer Bharat Ratna on Upendranath Brahma

Centre urged to confer Bharat Ratna on Upendranath Brahma




ed

Computer-aided image processing technique to protect weavers

Computer-aided image processing technique to protect weavers




ed

Upper Assam people stranded outside State reach Jorhat

Upper Assam people stranded outside State reach Jorhat




ed

3 arrested over teacher’s killing

3 arrested over teacher’s killing




ed

Mixed response to State Govt move on labour reforms

Mixed response to State Govt move on labour reforms




ed

Amended building construction bye-laws hailed

Amended building construction bye-laws hailed




ed

Psychotropic drugs seized in city

Psychotropic drugs seized in city




ed

Online short story contest winner announced

Online short story contest winner announced




ed

Liquor shops closed pending use of new MRP on products

Liquor shops closed pending use of new MRP on products




ed

Singh hails ‘disciplined’ NE model of COVID-19 management

Singh hails ‘disciplined’ NE model of COVID-19 management




ed

Dental hostel tagged containment zone

Dental hostel tagged containment zone




ed

Using Showdown/PageDown with and without jQuery

Showdown (also known as PageDown) is a JavaScript parser for Markdown-formatted text. It’s used on this site to generate a formatted preview of your comment as you type it. Showdown is library-agnostic, but fortunately, using it with jQuery isn’t much of a problem.




ed

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.




ed

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.




ed

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!




ed

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.




ed

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?




ed

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.




ed

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.




ed

Reserved keywords in JavaScript

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.




ed

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.




ed

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