Created
June 6, 2011 13:05
-
-
Save sunny/1010205 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| // ==UserScript== | |
| // @name Alexizer | |
| // @namespace agencecosmic.com | |
| // @include * | |
| // @require http://jqueryjs.googlecode.com/files/jquery-1.2.6.pack.js | |
| // ==/UserScript== | |
| var GM_JQ = document.createElement('script'); | |
| GM_JQ.src = 'http://jquery.com/src/jquery-latest.js'; | |
| GM_JQ.type = 'text/javascript'; | |
| document.getElementsByTagName('head')[0].appendChild(GM_JQ); | |
| function GM_wait() { | |
| if (typeof unsafeWindow.jQuery == 'undefined') { window.setTimeout(GM_wait,50); } | |
| else { $ = unsafeWindow.jQuery; letsJQuery(); } | |
| } | |
| GM_wait(); | |
| function letsJQuery() { | |
| $('#crop img:first').attr('src', 'http://renaultcommerce.com/alexis.png') | |
| $('.Profil-N02:first .photo').attr('src', 'http://renaultcommerce.com/alexis2.png') | |
| $('.vignettePhoto:first img').attr('src', 'http://renaultcommerce.com/alexis3.png') | |
| $('a').each(function(i, a) { | |
| a.innerHTML = a.innerHTML.replace(/invités|Cartier|Laurent Wauquiez|demandeurs d'emplois|Tarnac|les citoyens|un journaliste tunisien|Politique|La marine grecque|engin|Crash\/Rafales|Makéa|l'Elysée|le Charles-de-Gaulle|Le vaccin|Le chômage en France|l'UEFA|L'OM|Astana|Le Sénat|abonnés|Le Monde|La France|Philippines|Rama Yade|Golf|Valérie Pécresse|Henri Proglio|l'Afrique du Sud|Gaston Flosse|Peillon|La Bourse de Paris|DSK|Morel|Rose|Estrogi|2001|Quiz|Irak|un prof|(Thierry )?Henry|Téhéran|Jean Arthuis|gendarmes|Amsterdam|la Russie|Wal-Mart|Ligue des champions|Patrice L.|Shenzhen|Lieberman|l'Afghanistan|[lL]a Chine|intrus|Berlusconi|Renée Sebag-Lanöe|poissonnier|Web|Yves Leterme|Lexipppique|Bombay|Bordeaux|Langue|Laure Manaudou|Luc Chatel|lycée|Dubaï|Pékin|Alexis|(Nicolas )?Sarkozy|(Roman )?Polanski|(Barack )?Obama|(Dominique )?Strauss-Kahn|(Michael )?Moore|Google/g, 'Alexis').replace(/d[eu] Alexis/, "d'Alexis") | |
| }) | |
| } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment