ng

'Sadness is, seeing your favorite player getting old': Twitter re...

'Sadness is, seeing your favorite player getting old': Twitter re...




ng

Mortality increases if COVID-19 positive person delays in visiting hospital...

Mortality increases if COVID-19 positive person delays in visiting hospital...




ng

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

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




ng

'It's not going to go ahead': David Warner gives his verdict...

'It's not going to go ahead': David Warner gives his verdict...




ng

Houseboat sector struggling to stay afloat

Owners say it will take a year to bring the tourism sector back on track




ng

Tracking arrivalsa daunting task

Not many turn up at isolation centres




ng

Corporation arrangements for returnees

The city Corporation has made elaborate arrangements for non-resident Keralites ahead of the landing of the first flight from Doha in the capital on S




ng

Inter, AC Milan back training after lockdown in coronavirus epicentre

Inter, AC Milan back training after lockdown in coronavirus epicentre




ng

Barca return to training as La Liga eyes restart

Barca return to training as La Liga eyes restart




ng

Computer-aided image processing technique to protect weavers

Computer-aided image processing technique to protect weavers




ng

3 arrested over teacher’s killing

3 arrested over teacher’s killing




ng

Amended building construction bye-laws hailed

Amended building construction bye-laws hailed




ng

Liquor shops closed pending use of new MRP on products

Liquor shops closed pending use of new MRP on products




ng

Culling only way to contain African swine fever: expert

Culling only way to contain African swine fever: expert




ng

Forest dept wakes up to fresh Amchang encroachment

Forest dept wakes up to fresh Amchang encroachment




ng

NGO charts unique way to induce people into donating

NGO charts unique way to induce people into donating




ng

Existing BBCI patients to get therapy

Existing BBCI patients to get therapy




ng

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

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




ng

Centre’s advisory to NE states on returnees during lockdown

Centre’s advisory to NE states on returnees during lockdown




ng

Poor spare a ‘fistful of rice’ for the hungry

1,078 quintals of rice collected from cardholders in 16 mandals of Karimnagar




ng

Displaying hidden elements like `<head>` using CSS

By default, only the html and the body element (plus its children) of a web page are actually rendered. All information within the head element might be parsed and used by the browser, but most of the time it doesn’t get displayed. If you want to, you can use CSS to display these ‘hidden’ elements.




ng

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




ng

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.




ng

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.




ng

Using CSS without HTML

The following article was published on CSS-Tricks as a guest post.




ng

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.




ng

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!




ng

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.




ng

In defense of CSS hacks — introducing “safe CSS hacks”

I am writing this article because I noticed there’s a lot of misunderstanding on the subject of CSS hacks. How do you target Internet Explorer in your CSS? Do you use CSS hacks, conditional stylesheets or something else?




ng

JavaScript’s internal character encoding: UCS-2 or UTF-16?

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.




ng

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.




ng

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