Black magic for Trolls
Subtly overrides common jQuery functions. For example:
<h1>Important heading</h1>
<script>
$('h1').text('Updating my important heading');
</script>
turns into this...
<h1>Poop Important heading</h1>
And this...
$('div').slideDown();
plays a slide whistle.
text( myText )
: PrependsmyText
with 'Poop'addClass( myClass )
: AddsmyClass
and also a 'poop' classremoveClass( myClass )
: RemovesmyClass
and adds a 'poop' classprepend( myStuff )
: Prepends withmyStuff
+poop
append()
: Appends withPoop
+myStuff
show(), hide(), toggle(), slideUp(), slideDown(), slideToggle()
: Plays a slide whistle noise
- show-hide.ogg is from freesound.org and is licensed under Creative Commons. It was converted from WAV to OGG using online-convert.com.