Notes archive
The idea is that every entry is like a note-to-self kind of thing. Every post is a mini-knowledge bomb I wish someone else had dropped before me, so I wouldn’t have had to research and write it.
globalThis
polyfill in universal JavaScript A horrifying- JavaScript engine fundamentals: optimizing prototypes
- JavaScript engine fundamentals: Shapes and Inline Caches
await
beatsPromise#then()
Asynchronous stack traces: why- ECMAScript regular expressions are getting better!
- Unicode property escapes in JavaScript regular expressions
const
is not about immutability ES2015- Valid JavaScript variable names in ES2015
- Unicode-aware regular expressions in ES2015
- Dear Google, please fix plain text emails in Gmail
- PBKDF2+HMAC hash collisions explained
- JavaScript has a Unicode problem
- Processing Content Security Policy violation reports
- Hiding JSON-formatted data in the DOM with CSP enabled
xhr.responseType='json'
Loading JSON-formatted data with Ajax and- Reserved keywords in JavaScript
- How to support full Unicode in MySQL databases
- How to speedrun Dropbox’s Dropquest 2012
- Unquoted font family names in CSS
- Unquoted property names / object keys in JavaScript
- Valid JavaScript variable names in ES5
- JavaScript’s internal character encoding: UCS-2 or UTF-16?
- JavaScript character escape sequences
- The smallest possible valid (X)HTML documents
- Ambiguous ampersands
foo.prototype.bar
notation JavaScript- HTML element + attribute notation
localStorage
: a simple JavaScript pattern How I detect and use- The end-tag open (ETAGO) delimiter
- Unquoted attribute values in HTML and CSS/JS selectors
- In defense of CSS hacks — introducing “safe CSS hacks”
oninput
event handler withonkeyup
/onkeydown
as its fallback Using the- Everything you always wanted to know about touch icons
- AirPlay video support in iOS Safari — a bookmarklet
- Completing Dropbox’s Dropquest 2011 in 60 seconds
- Bulletproof JavaScript benchmarks
- Using CSS without HTML
- How to create simple Mac apps from shell scripts
setTimeout
to speed upwindow.onload
Using- CSS character escape sequences
id
attribute got moreclass
y in HTML5 The- The XML serialization of HTML5, aka ‘XHTML5’
- Thoughts on Safari Reader’s generated HTML
- How to enable Safari Reader on your site?
- The three levels of HTML5 usage
document.head
DOM tree accessor The HTML5- Using Showdown/PageDown with and without jQuery
<details>
fallback using jQuery Bulletproof HTML5<head>
using CSS Displaying hidden elements like<script>
and<style>
vs. external.js
and.css
— what’s the size threshold? Inlinerel="shortcut icon"
considered harmful- Optimizing the asynchronous Google Analytics snippet
- A fresh start
AllowOverride All
doesn’t do what you think it does Apache’s- Removing ‘www.’ from your URL