Skip to content

Instantly share code, notes, and snippets.

@lucasrizoli lucasrizoli/gist:5511109
Last active Dec 16, 2015

Embed
What would you like to do?
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

This comment has been minimized.

Copy link
Owner Author

lucasrizoli commented May 3, 2013

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
You can’t perform that action at this time.