Never been to CodeSnippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)

Defeating RickRolls with CSS (See related posts)

Add this CSS to your user stylesheet for a graphical indicator that you're about to get rickroll'd.

a[href*="youtube.com/watch?v=eBGIQ7ZuuiU"],
a[href*="youtube.com/watch?v=oHg5SJYRHA0"] {
    display: block;
    display: inline-block;
    width: 247px;
    height: 229px;
    background-image: url(http://farm3.static.flickr.com/2325/2394457221_aec683d4f0_o.png) ! important;
    border: 1px dashed black;
};

Comments on this post

jamiew posts on Apr 15, 2008 at 16:16
There's an extensive list of Rickrolls (and an AdBlockPlus filter which helps defeat them too) at http://rickrolldb.com

You need to create an account or log in to post comments to this site.