Talk:1288: Substitutions

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search

We need a web plugin that does this automatically, stat! 11:36, 8 November 2013 (UTC)

Lol, I was just thinking the same thing! I was only meaning to post that in the discussion but saw that nobody had done the explanation yet. There goes a good chunk of my day :/ Zyxuvius (talk) 11:55, 8 November 2013 (UTC)
Came here just to say this. Please post links to the unofficial xkcd news substitution tool as soon as it becomes available :P -- 13:41, 8 November 2013 (UTC)
It already exists for Firefox: This addon allows you to create substitution lists that will automatically be applied to web pages. -- 13:39, 8 November 2013 (UTC)
And here's an URL for the abovementioned FoxReplace addon. Just import it, and it will do the substitutions listed in this XKCD comic: (talk) (please sign your comments with ~~~~)
I threw this together this morning for Chrome: Note that you need to enable developer mode in your Extensions settings. (talk) (please sign your comments with ~~~~)
Oh God! Thank you! I'm trying not to laugh too loudly at work. This is hilarious "While last year’s grind of an eating contest lacked the drama of the 2008 race ..." -- 15:01, 8 November 2013 (UTC)
How do I install it? Whitecat (talk)
As a userscript that should work with Scriptish, Greasemonkey or anything else that supports userscripts: (click to install:
Add other news sites on the top or just tell me and I'll add them. mcef (talk) 19:57, 8 November 2013 (UTC)
For those who don't want to install anything in their browsers, here is a bookmarklet. To use it, create a new bookmark and insert the following code as location
javascript:(function(){var%20map={witnesses:"These%20dudes%20I%20know","allegedly":"Kinda%20probably","new%20study":"Tumbl%20post",rebuild:"Avenge",space:"Spaaace","google%20glass":"Virtual%20Boy",smartphone:"Pokedex",electric:"Atomic",senator:"Elf-lord",car:"Cat",election:"Eating%20contest","congressional%20leaders":"River%20spirits","homeland%20security":"Homestart%20Runner","could%20not%20be%20reached%20for%20comment":"Is%20guilty%20and%20everyone%20knows%20it"};var%20b=document.getElementsByTagName('body')[0];b.innerHTML=b.innerHTML.replace(/new%20study|google%20glass|congressional%20leaders|homeland%20security|could%20not%20be%20reached%20for%20comment|\w+/gi,function($0){return map[$0.toLowerCase()]||$0});})()
-- 20:44, 8 November 2013 (UTC)
You've made the wrong script. This is the correct one:
	var map={
		witnesses:"These dudes I know",
		allegedly:"Kinda probably",
		"new study":"Tumbl post",
		"google glass":"Virtual Boy",
		election:"Eating contest",
		"congressional leaders":"River spirits",
		"homeland security":"Homestart Runner",
		"could not be reached for comment":"Is guilty and everyone knows it"};
var b=document.getElementsByTagName('body')[0];
/new study
|google glass
|congressional leaders
|homeland security
|could not be reached for comment
	return map[$0.toLowerCase()]||$0});})() 08:45, 9 November 2013 (UTC)

I don't get how that was supposed to work, here's mine: javascript:(function(o){var t = o.innerHTML; var subs = [["witnesses","dudes I know"],["allegedly","kinda probably"],["new study","tumblr post"],["rebuild","avenge"],["space","spaaace"],["google glass","virtual boy"],["smartphone","pok\u00e9dex"],["electric","atomic"],["senator","elf-lord"],["car","cat"],["election","eating contest"],["congressional leaders","river spirits"],["homeland security","homestar runner"],["could not be reached for comment","is guilty and everyone knows it"]]; for(var x = 0; x < subs.length; x++) { t = t.replace(new RegExp(subs[x][0],"gi"),subs[x][1]); } o.innerHTML=t;})(document.body); 02:15, 13 November 2013 (UTC)

Is "Homestar runner" a reference to something I'm not cool enough to get? Djbrasier (talk) 20:49, 8 November 2013 (UTC) (talk) (please sign your comments with ~~~~)

I created a plugin for Chrome and Opera, available here: 09:16, 9 November 2013 (UTC)

The Virtual Boy is a oversized *portable* console. 13:34, 10 November 2013 (UTC)

Pigs In Spaaaaace! (talk) (please sign your comments with ~~~~)

That "space" switched for "SPAAAACE" is so much fun when reading about namespaces in C++, for example. I was reading the Go tutorial today... Try it. GBGamer117 > /dev/null (talk) 23:57, 12 November 2013 (UTC)

The Opera plugin is now available here: 06:50, 15 November 2013 (UT

I have written yet another Chrome extension inspired by this comic: "xkcd Substitutions Plus" I did this since I couldn't find one that let you to edit the list of substitutions. I plan to upload the code to GitHub too. I would love to hear suggestions on how to improve it :) (talk) (please sign your comments with ~~~~)

You should probably disable your extension for this page (or make it correctly work with the textarea), since you seem to be changing other code posted in the comments with it every time you make an edit. mcef (talk) 15:58, 17 November 2013 (UTC)
It's a good idea, I'll add a list of excluded pages to the extension. 18:59, 17 November 2013 (UTC)
And yet you do it again, ruining all the code posted in the comments. Please refrain from editing this with the plugin enabled. mcef (talk) 19:12, 17 November 2013 (UTC)

The comic description really confused me... until I realised I had the plug-in turned on. :D 20:07, 24 November 2013 (UTC)

Weirdest thing I've gotten out of the extension: Jehovah's These dudes I know. 09:11, 28 April 2014 (UTC)

Check out the Android App (we are using it for a research project, to collect user interaction data): 17:06, 5 March 2015 (UTC)

Personal tools


It seems you are using noscript, which is stopping our project wonderful ads from working. Explain xkcd uses ads to pay for bandwidth, and we manually approve all our advertisers, and our ads are restricted to unobtrusive images and slow animated GIFs. If you found this site helpful, please consider whitelisting us.

Want to advertise with us, or donate to us with Paypal?