Editing Talk:1288: Substitutions
![]() |
Please sign your posts with ~~~~ |
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 5: | Line 5: | ||
::::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. -- [[Special:Contributions/173.245.51.210|173.245.51.210]] 13:39, 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. -- [[Special:Contributions/173.245.51.210|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 {{unsigned ip|173.245.51.210}} | :::: 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 {{unsigned ip|173.245.51.210}} | ||
− | |||
− | ::I threw this together this morning for Chrome: https:// | + | ::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. {{unsigned ip|108.162.219.29}} |
− | :::: Oh God! Thank you! I'm trying not to laugh too loudly at work. This is hilarious [http://www.nytimes.com/2013/11/01/us/politics/book-details-consideration-of-replacing-biden-on-2012-ticket.html?pagewanted=all&_r=0|"While last | + | :::: Oh God! Thank you! I'm trying not to laugh too loudly at work. This is hilarious [http://www.nytimes.com/2013/11/01/us/politics/book-details-consideration-of-replacing-biden-on-2012-ticket.html?pagewanted=all&_r=0|"While last year’s grind of an eating contest lacked the drama of the 2008 race ..."] -- [[Special:Contributions/173.245.51.223|173.245.51.223]] 15:01, 8 November 2013 (UTC) |
::::How do I install it? [[User:Whitecat|Whitecat]] ([[User talk:Whitecat|talk]]) | ::::How do I install it? [[User:Whitecat|Whitecat]] ([[User talk:Whitecat|talk]]) | ||
− | ::As a userscript that should work with Scriptish, Greasemonkey or anything else that supports userscripts: https://gist. | + | ::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 | ::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={:"These%20dudes%20I%20know","":"Kinda%20probably","new%20study":"Tumbl%20post",:"Avenge",:"Spaaace","google%20glass":"Virtual%20Boy",:"Pokedex",:"Atomic",:"Elf-lord",:"Cat",:"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});})()<br> | + | javascript:(function(){var%20map={these dudes I know:"These%20dudes%20I%20know","kinda probably":"Kinda%20probably","new%20study":"Tumbl%20post",avenge:"Avenge",SPAAACE:"Spaaace","google%20glass":"Virtual%20Boy",Pokédex:"Pokedex",atomic:"Atomic",Elf-Lord:"Elf-lord",cat:"Cat",eating contest:"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});})()<br> |
::--[[Special:Contributions/173.245.53.128|173.245.53.128]] 20:44, 8 November 2013 (UTC) | ::--[[Special:Contributions/173.245.53.128|173.245.53.128]] 20:44, 8 November 2013 (UTC) | ||
:::: You've made the wrong script. This is the correct one: | :::: You've made the wrong script. This is the correct one: | ||
Line 23: | Line 22: | ||
(function(){ | (function(){ | ||
var map={ | var map={ | ||
− | :"These dudes I know", | + | these dudes I know:"These dudes I know", |
− | :"Kinda probably", | + | kinda probably:"Kinda probably", |
− | "":"Tumbl post", | + | "Tumblr post":"Tumbl post", |
− | :"Avenge", | + | avenge:"Avenge", |
− | :"Spaaace", | + | SPAAACE:"Spaaace", |
− | "":"Virtual Boy", | + | "Virtual Boy":"Virtual Boy", |
− | :"Pokedex", | + | Pokédex:"Pokedex", |
− | :"Atomic", | + | atomic:"Atomic", |
− | :"Elf-lord", | + | Elf-Lord:"Elf-lord", |
− | :"Cat", | + | cat:"Cat", |
− | :"Eating contest", | + | eating contest:"Eating contest", |
− | " | + | "river spirits":"River spirits", |
− | "":"Homestart Runner", | + | "Homestar Runner":"Homestart Runner", |
− | "":"Is guilty and everyone knows it"}; | + | "is guilty and everyone knows it":"Is guilty and everyone knows it"}; |
var b=document.getElementsByTagName('body')[0]; | var b=document.getElementsByTagName('body')[0]; | ||
b.innerHTML=b.innerHTML.replace( | b.innerHTML=b.innerHTML.replace( | ||
− | / | + | /Tumblr post |
− | | | + | |Virtual Boy |
− | | | + | |river spirits |
− | | | + | |Homestar Runner |
− | | | + | |is guilty and everyone knows it |
|\w+/gi,function($0){ | |\w+/gi,function($0){ | ||
return map[$0.toLowerCase()]||$0});})() | return map[$0.toLowerCase()]||$0});})() | ||
− | </pre> | + | </pre> |
− | [[Special:Contributions/173.245.51.221|173.245.51.221]] 08:45, 9 | + | [[Special:Contributions/173.245.51.221|173.245.51.221]] 08:45, 9 November 2013 (UTC) |
− | |||
− | |||
Is "Homestar runner" a reference to something I'm not cool enough to get? [[User:Djbrasier|Djbrasier]] ([[User talk:Djbrasier|talk]]) 20:49, 8 November 2013 (UTC) | Is "Homestar runner" a reference to something I'm not cool enough to get? [[User:Djbrasier|Djbrasier]] ([[User talk:Djbrasier|talk]]) 20:49, 8 November 2013 (UTC) | ||
Line 59: | Line 56: | ||
The Virtual Boy is a oversized *portable* console. [[Special:Contributions/173.245.54.88|173.245.54.88]] 13:34, 10 November 2013 (UTC) | The Virtual Boy is a oversized *portable* console. [[Special:Contributions/173.245.54.88|173.245.54.88]] 13:34, 10 November 2013 (UTC) | ||
− | Pigs In Spaaaaace! | + | Pigs In Spaaaaace! |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |