do Maradona autographs shirt to help poor By Published On :: Maradona autographs shirt to help poor Full Article
do NGO charts unique way to induce people into donating By Published On :: NGO charts unique way to induce people into donating Full Article
do Centres advisory to NE states on returnees during lockdown By Published On :: Centres advisory to NE states on returnees during lockdown Full Article
do Using Showdown/PageDown with and without jQuery By mathiasbynens.be Published On :: Sun, 02 May 2010 23:03:31 +0200 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. Full Article
do The HTML5 `document.head` DOM tree accessor By mathiasbynens.be Published On :: Tue, 04 May 2010 21:02:07 +0200 One of the lesser known HTML5 JavaScript goodies is the document.head DOM tree accessor, which is a more efficient (and easier to type) alternative to document.getElementsByTagName('head')[0]. Native support for document.head is very easy to detect… Full Article
do Using `setTimeout` to speed up `window.onload` By mathiasbynens.be Published On :: Tue, 14 Sep 2010 12:08:56 +0200 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. Full Article
do Using the `oninput` event handler with `onkeyup`/`onkeydown` as its fallback By mathiasbynens.be Published On :: Wed, 11 May 2011 09:31:52 +0200 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. Full Article
do The smallest possible valid (X)HTML documents By mathiasbynens.be Published On :: Thu, 15 Dec 2011 13:35:06 +0100 I thought it would be fun to document the smallest possible valid HTML documents for each version, so here goes :) Full Article
do 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