Skip to content

Instantly share code, notes, and snippets.

@lucasrizoli
Last active December 16, 2015 22:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lucasrizoli/5511109 to your computer and use it in GitHub Desktop.
Save lucasrizoli/5511109 to your computer and use it in GitHub Desktop.
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; }
);
}
);
};
@lucasrizoli
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment