Tiny Snippets of Code That Changed The World

<p>In 1997, Ethan Zuckerman broke the Internet &mdash; by inventing the pop-up ad.</p> <p>He was working for Tripod.com, an online service that let people make little web pages for free. To make money, Tripod sold ads that ran alongside the pages. The problem was, ads would wind up running next to racy content &mdash; a user&rsquo;s page devoted to anal sex, say &mdash; and advertisers did&nbsp;<em>not&nbsp;</em>like this.</p> <p>Zuckerman&rsquo;s boss asked him to figure out some solution. Wasn&rsquo;t there some way to position the ads so they weren&rsquo;t right next to sexytime user-generated stuff?</p> <p>That&rsquo;s when Zuckerman figured out a weird, hacky solution: When you visited a Tripod page, it would spawn an entirely new pop-up page with just the ad. That way the ad would not be, technically, associated with&nbsp;<em>any</em>&nbsp;particular user page. It&rsquo;d just be floating there onscreen.</p> <p>Here&rsquo;s the thing, though: Zuckerman&rsquo;s bit of Javascript, that created the popup ad? It was incredibly short &mdash; a single line of code</p>
Tags: Code Snippets