Omnimaga

General Discussion => Other Discussions => Humour and Jokes => Topic started by: Keoni29 on July 10, 2013, 03:43:20 pm

Title: Userscript that changes all text to "chicken"
Post by: Keoni29 on July 10, 2013, 03:43:20 pm
Click the chicken!
(http://thepeacefulmom.com/wp-content/uploads/2010/06/Rosemary-Roasted-Chicken.ashx_.jpg) (http://userscripts.org/scripts/show/173080)
Script by Eeems!
Title: Re: Userscript that changes all text to "chicken"
Post by: Streetwalrus on July 10, 2013, 04:27:27 pm
Nom that sounds delicious. :P/me wants
Title: Re: Userscript that changes all text to "chicken"
Post by: DJ Omnimaga on July 10, 2013, 04:34:59 pm
At least it doesn't change all text to The Game. :P
Title: Re: Userscript that changes all text to "chicken"
Post by: Sorunome on July 10, 2013, 04:35:35 pm
That wouldn't be hard to change dj :P
Title: Re: Userscript that changes all text to "chicken"
Post by: Deep Toaster on July 10, 2013, 06:32:59 pm
Reminds me of this: http://www.google.com/landing/elegantizr/

Elegant, indeed.
Title: Re: Userscript that changes all text to "chicken"
Post by: Jonius7 on July 11, 2013, 05:34:45 am
nom nom lobsters
Now we can have lovely chicken. nom nom.

I'd be interested in finding out whether this becomes a great meme ;)
Title: Re: Userscript that changes all text to "chicken"
Post by: Streetwalrus on July 11, 2013, 05:37:21 am
One cool thing you can do with that is to put it on a friend's comp to pull a prank on him. :P
Title: Re: Userscript that changes all text to "chicken"
Post by: Sorunome on July 11, 2013, 05:38:17 am
remember: its only for the browser :P
But yeah, that would be funny ^^
Title: Re: Userscript that changes all text to "chicken"
Post by: Streetwalrus on July 11, 2013, 05:39:51 am
Yeah I do know that but hey. :P
Title: Re: Userscript that changes all text to "chicken"
Post by: Eeems on July 11, 2013, 03:36:45 pm
http://userscripts.org/scripts/show/173080
I may or may not have beaten Keoni to it.
>.>
<.<
Title: Re: Userscript that changes all text to "chicken"
Post by: Keoni29 on July 11, 2013, 03:38:55 pm
I initially wanted to make it myself, but then I found out I forgot everything I know about javascript. It has been a while. Thank you for making the userscript, Eeems!
Title: Re: Userscript that changes all text to "chicken"
Post by: Eeems on July 11, 2013, 03:40:40 pm
I initially wanted to make it myself, but then I found out I forgot everything I know about javascript. It has been a while. Thank you for making the userscript, Eeems!
You should get on re-learning it asap ;)
Title: Re: Userscript that changes all text to "chicken"
Post by: Keoni29 on July 11, 2013, 03:44:47 pm
chicken
chicken(http://thepeacefulmom.com/wp-content/uploads/2010/06/Rosemary-Roasted-Chicken.ashx_.jpg)
chicken
Title: Re: Userscript that changes all text to "chicken"
Post by: Darl181 on July 11, 2013, 06:01:40 pm
Spoiler For chicken:
(http://darl181.webuda.com/other/chicken.png)
Works pretty well :)
 
 /me wonders what scorecardresearch is doing here :|
Title: Re: Userscript that changes all text to "chicken"
Post by: Eeems on July 11, 2013, 06:18:58 pm
Spoiler For chicken:
(http://darl181.webuda.com/other/chicken.png)
Works pretty well :)
 
 /me wonders what scorecardresearch is doing here :|
I've updated it to change title and alt attributes. This way hovering doesn't give the original text on sites like Wikipedia for links :)
Title: Re: Userscript that changes all text to "chicken"
Post by: tr1p1ea on July 11, 2013, 11:01:38 pm
What about making one that changes most words to 'Badgers' with the occasional 'Mushroom' and eventually a super rare 'Snaaaake'?!

:).
Title: Re: Userscript that changes all text to "chicken"
Post by: DJ Omnimaga on July 11, 2013, 11:40:47 pm
What's with the chic, chick and ch here and there? ???
Title: Re: Userscript that changes all text to "chicken"
Post by: Hayleia on July 12, 2013, 02:57:52 am
I guess that the lenght of the string must be the same at the beginning and at the end so "HOME" becomes "CHIC" (both with 4 letters) and same for "NEWS", but "DOWNLOADS" is too long for "chicken" so it actually tries to add another "chicken" but this time it is too long and it has to be shortened as "chicken c", etc...
Title: Re: Userscript that changes all text to "chicken"
Post by: Jonius7 on July 12, 2013, 06:03:41 am
nomnom chicken...
I kinda like the "glazed" look on some of the edges of the omnom box and forum posts:
Spoiler For nomnom chicken:
(http://s1.bild.me/bilder/260513/3994098nomnom_chicken.PNG)
Stats page where the most stretched chicken takes the honours... :P
Spoiler For nomnom strectched chickens:
(http://s1.bild.me/bilder/260513/1044106nomnom_stretched_chickens.PNG)

Title: Re: Userscript that changes all text to "chicken"
Post by: Eeems on July 12, 2013, 09:51:43 am
I guess that the lenght of the string must be the same at the beginning and at the end so "HOME" becomes "CHIC" (both with 4 letters) and same for "NEWS", but "DOWNLOADS" is too long for "chicken" so it actually tries to add another "chicken" but this time it is too long and it has to be shortened as "chicken c", etc...
Exactly
What about making one that changes most words to 'Badgers' with the occasional 'Mushroom' and eventually a super rare 'Snaaaake'?!

:).
You could easily modify the script to do that :)
Title: Re: Userscript that changes all text to "chicken"
Post by: Streetwalrus on July 12, 2013, 10:22:04 am
It'd prolly be better if you changed the whole words to chicken intead of sequentially replacing chars.
Title: Re: Userscript that changes all text to "chicken"
Post by: Eeems on July 12, 2013, 12:42:36 pm
It'd prolly be better if you changed the whole words to chicken intead of sequentially replacing chars.
I'm not actually sequentially replacing characters. I'm adding "chicken " to a string until it matches or is greater then the length of the original and then I'm trimming it to the same length. I have to do it that way otherwise there will be display issues with things that have to be a certain length.
Title: Re: Userscript that changes all text to "chicken"
Post by: Streetwalrus on July 12, 2013, 12:53:22 pm
Oh ok.
Title: Re: Userscript that changes all text to "chicken"
Post by: Eeems on July 12, 2013, 04:18:31 pm
What about making one that changes most words to 'Badgers' with the occasional 'Mushroom' and eventually a super rare 'Snaaaake'?!

:).
You should take a peek at this: http://userscripts.org/scripts/show/173148
It's pretty close to the same things as chicken, it just allows for more words etc :)
Title: Re: Userscript that changes all text to "chicken"
Post by: annoyingcalc on July 15, 2013, 07:21:17 pm
It had to be done.

Go To Extensions then drop this file on the page.

Based of what Eeems made.
/me lost the game.

Warning, if you are allergic to excessive losing THE GAME, don't click it!
Title: Re: Userscript that changes all text to "chicken"
Post by: Streetwalrus on July 16, 2013, 09:51:08 am
Nice one !/me lost
/me got rickrolled pretty badly
I wanted to do that in the first place :P