Skip Navigation code drift

Code

The beeps that boop. Posts about coding, the process, and the results.

Useful git

(3 min read) These are some of my favorite commands.

Reparenting iframes

(3 min read) If you're playing around with iframes, there's a nasty bug that occurs when you attempt to move the iframe using methods such as appendChild or insertBefore. How nasty the bug is depends on how tolerant your code is of reloading behaviors.

Line Numbers in eval

(2 min read) You should never do this. But "never" is a bit too absolute for engineering

window.postMessage and Internet Explorer

(3 min read) It started out innocently enough: the LinkedIn Platform needed to run our Professional Plugins on third party sites. To do the basic process of resizing iframes (to fit our plugins), we needed a way to talk across domains.