Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Splice unsavory images into your DOM to unsettle your users

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 tylerDurden.js


Do you wish you could be just like Tyler Durden from Fight Club and splice single frames of pornography into films at the movie theater? probably won't ever be able to do that. But, what you can do is use this nifty little jQuery plugin to splice in obscene images to divs on your website. Customize the options to suit your needs and let Project Mayhem unfold on your site.

How To Use

After including tylerDurden.js in your site you can apply it like so:
$('body').tylerDurden({ imageUrl: 'a link to a most un-polite image' });

Feel free to swap out the "body" with any dom element of your chosing that supports background images.


All options have default values but you'll want to set the below on your own.

minTime: lower bound of the random time window for splicing the image in milliseconds
maxTime: upper bound of the random time window for splicing the image in milliseconds
exposureTime: how long to show the image in milliseconds
repeat: true or false value for repeating the splice
imageUrl: the url of the image to be spliced

Something went wrong with that request. Please try again.