Skip to content

Instantly share code, notes, and snippets.

View maartenJacobs's full-sized avatar
🏠
Working from home

Maarten Jacobs maartenJacobs

🏠
Working from home
View GitHub Profile
@adammw
adammw / nyancat.js
Last active September 25, 2015 23:58
Facebook Nyan Cat... Inject with `javascript:s=document.createElement('script');s.src='https://bit.ly/110kHu0';document.body.appendChild(s);`
/* Facebook Nyan Cat
* Works only in Webkit browsers
* Uses images + sound from http://nyan.cat
*/
var NyanCat = (function NyanCatFacebook() {
const updateInterval = 10;
var nyan, rainbows, sound;
var loadingPosts = false;
var top = 0;
var interval = null;