Bitchify
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',
pattern: /[\t\n.!?]+$/,
replace: ', Bitch!',
before: false,
active: false,
hash: 'bitch',
keyword: 'bitch'
Examples
Insert at the beginning
new Bitchify({
pattern: /[^\w]+$/,
replace: 'Bitch! ',
before: true
}
Development
Project setup
npm install
Compiles for development
npm start
Compiles and minifies for production
npm run build
Test, lints and fixes files
npm test
Bitchify the world as Browser Bookmark
Create bowser bookmark and copy following code as URL:
javascript:if(typeof bitchify==='undefined'){var bitchify,s=document.createElement('script');s.src='https://schascha.github.io/bitchify/dist/js/bitchify.js';s.onload=function() {bitchify=new Bitchify().render();};document.body.appendChild(s);}else{bitchify.render();}
Bugs? 🐛
Please let me know: https://github.com/Schascha/bitchify/issues
Buy me a Coffee ☕
Support this project and others via PayPal. Thanks
Changelog
Detailed changes for each release are documented in the release notes.
License
MIT
Copyright (c) 2019 Sascha Künstler