var dict = { | |
"Videogames" : "Things", | |
"Videogame" : "Thing", | |
"videogames" : "things", | |
"videogame" : "thing", | |
"Games" : "Things", | |
"Game" : "Thing", | |
"games" : "things", | |
"Games" : "Things", | |
"game" : "thing", | |
"GAME" : "THING", | |
"interactivity" : "thingness" | |
}; | |
var fuckThings = function () { | |
$.getScript( | |
"https://raw.github.com/cowboy/jquery-replacetext/master/jquery.ba-replacetext.min.js", | |
function () { | |
$("#wrapper *").replaceText( | |
/\b(\S+?)\b/g, | |
function (str) { return dict[str] || str; } | |
); | |
} | |
); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This comment has been minimized.
Go to http://tinysubversions.com/fuckvideogames/
Open up your JavaScript console (in Chrome, Ctrl + Shift + J or ⌘⌥J)
Paste the following in the console: $.getScript("https://gist.github.com/lucasrizoli/5511109/raw/4f44004db5ba563f89659ed4014cd5633ab3280b/gistfile1.js", function() { fuckThings(); });
Hit Enter.
Go through the slides, I guess.