Skip Navigation code drift

LinkedIn

We were building the world's largest professional network. There were bound to be lessons along the way.

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.

Enhancing for Bugs

(1 min read) In the days of Internet Explorer 6, it was common to lament the problems of the browser nobody wanted to support. Some of the bugs that developers have uncovered are well documented, some of them not. This falls more into the later camp.