Skip to content
Bitchify your panty pants. Just a lightweight dependency-free easter egg for every website, bitch!
JavaScript HTML CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist
src
.babelrc
.browserslistrc
.editorconfig
.eslintrc
.gitignore
.sass-lint.yml
.travis.yml
LICENSE
README.md
index.html
package-lock.json
package.json

README.md

Bitchify

Travis Status

Bitchify your panty pants. Just a lightweight dependency-free easter egg for every website, bitch!

https://schascha.github.io/bitchify/

Installation

Bitchify is available on NPM:

npm i bitchify --save

Initialize

<script src="dist/js/bitchify.min.js"></script>
var bitchify = new Bitchify();

Configuration

elements: 'h1, h2, h3, h4, h5, h6, p',  // String: Selector
pattern: /[\t\n.!?]+$/,                 // RegExp|String: Replace pattern, e.g. /[^\w]+$/
replace: ', Bitch!',                    // String: Replacement
before: false,                          // Boolean: Insert before or after
active: false,                          // Boolean: Render on page load
hash: 'bitch',                          // String: Trigger bitchify via hashtag
keyword: 'bitch'                        // String: Trigger bitchify on keypress

Examples

Insert at the beginning

new Bitchify({
	pattern: /[^\w]+$/,
	replace: 'Bitch! ',
	before: true
}

License

MIT

You can’t perform that action at this time.