Skip to content

A small library that allows one to bombard their screen with the famed Clippy.

Notifications You must be signed in to change notification settings

broden-wanner/clippybomb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

Clippy Bomb

This repository contains a function that floods a page with Clippy, the mythical create of Microsoft lore.

Setup

jQuery and clippy.js are required for this to work. See their pages for instructions on how to use.

Include the javascript from this repo.

<script src="clippybomb/clippyBomb.js"></script>

Useage

Call the following function whenever you want Clippy to invade.

clippyBomb();

To customize the messages, actions, and explosion rate of clippy, pass in an object that looks like the following.

var options = {
    messages: ['I do not like you', 'You smell'],
    actions: ['Searching', 'Show'],
    explosionRate: 30
}
clippyBomb(options);

Note that messgaes and actions must be a non-empty array of strings and explosionRate must be a number.

To stop the clippy bomb, just make a call to

stopClippies();

And to clear the clippies altogehter, make another call to

disperseClippies();

(in progress)

About

A small library that allows one to bombard their screen with the famed Clippy.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published