Difference between revisions of "Talk:1288: Substitutions"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
Line 12: Line 12:
 
::As a userscript that should work with Scriptish, Greasemonkey or anything else that supports userscripts: https://gist.github.com/mcef/7376276 (click to install: https://gist.github.com/mcef/7376276/raw/e0b7a3ca2a65b8809a48241a92f265ae479c9e99/1288.user.js)
 
::As a userscript that should work with Scriptish, Greasemonkey or anything else that supports userscripts: https://gist.github.com/mcef/7376276 (click to install: https://gist.github.com/mcef/7376276/raw/e0b7a3ca2a65b8809a48241a92f265ae479c9e99/1288.user.js)
 
::Add other news sites on the top or just tell me and I'll add them. [[User:Mcef|mcef]] ([[User talk:Mcef|talk]]) 19:57, 8 November 2013 (UTC)
 
::Add other news sites on the top or just tell me and I'll add them. [[User:Mcef|mcef]] ([[User talk: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
 +
::::<code>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});})()</code><br>
 +
::--[[Special:Contributions/173.245.53.128|173.245.53.128]] 20:44, 8 November 2013 (UTC)

Revision as of 20:44, 8 November 2013

We need a web plugin that does this automatically, stat! 141.101.99.216 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 -- 173.245.51.223 13:41, 8 November 2013 (UTC)
It already exists for Firefox: https://addons.mozilla.org/en-US/firefox/addon/foxreplace/ This addon allows you to create substitution lists that will automatically be applied to web pages. -- 173.245.51.210 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: https://www.dropbox.com/s/36eq2xgnmv8obpe/XKCD.json 173.245.51.210 (talk) (please sign your comments with ~~~~)
I threw this together this morning for Chrome: https://github.com/ChrisMagellan/Make-News-Funny/ Note that you need to enable developer mode in your Extensions settings. 108.162.219.29 (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 ..." -- 173.245.51.223 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: https://gist.github.com/mcef/7376276 (click to install: https://gist.github.com/mcef/7376276/raw/e0b7a3ca2a65b8809a48241a92f265ae479c9e99/1288.user.js)
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});})()
--173.245.53.128 20:44, 8 November 2013 (UTC)