Last active
December 16, 2015 22:59
-
-
Save lucasrizoli/5511109 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
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.