AdrienXL / Gameblog Power Up - Chrome

// ==UserScript==
// @name        Gameblog Power Up - Chrome
// @namespace   gbpu
// @description Customisation et am�lioration de la partie Communaut� de Gameblog.fr
// @include     http://www.gameblog.fr/communaute.php
// @include     http://www.gameblog.fr/statuts.php*
// @include     http://www.gameblog.fr/blogs/index.php*
// @version     1.2
// ==/UserScript==

function GM_wait(){"undefined"==typeof unsafeWindow.jQuery?window.setTimeout(GM_wait,100):(jq=unsafeWindow.jQuery.noConflict(!0),letsJQuery())}function letsJQuery(){function e(){var e=GM_getValue("gbpu_size_fil_actu","Normale"),t=(GM_getValue("gbpu_show_smiley",!1),GM_getValue("gbpu_hide_twitter",!1),GM_getValue("gbpu_hide_gamecam",!1)),l=(GM_getValue("gbpu_hide_images",!1),jq(".homeCommunaute:first"));switch(e){case"Normale":l.css("height","495px"),jq("#gbLastActivity").css("height","480px");break;case"Grande":l.css("height","895px"),jq("#gbLastActivity").css("height","680px");break;case"Enorme":l.css("height","1195px"),jq("#gbLastActivity").css("height","980px");break;case"Masquer":l.css("height","200px"),jq("#gbLastActivity").css("height","0px")}gb.scrollbars[0].recalculateLayout(),o(),("true"==t||1==t)&&jq(".blocCam").hide(),jq("#mygameblog_popup").prepend('<li class="sectionSeparator"><a id="gbc_gameblog_power_up" href="#nogo">Gameblog power up</a></li>')}function t(){jq('<strong style="float:left; margin-top:30px; margin-left:20px;" class="gbc_wait">Chargement des derniers posts de blog en cours <img width="16" src="http://www.gameblog.fr/images/blogs/29207/177735.gif"></strong>').insertAfter(".gb_actu3:first"),jq(".gb_actu3:first").hide();var e=jq(".gb_actu3:first > article"),t='<table style="margin-left:20px;">';e.each(function(){var e=jq(this).find("a:first").attr("href"),l=jq(this).find("a.titre").text(),o=jq(this).find("div.infos.user"),i=o.find("a:first").text(),a=o.find("a:first").attr("href"),g=o.find("span.author").attr("data-ol");g=g.split(":"),g=g[1];var r=o.find("time").text(),u=o.find("span.likes").text(),f=o.find("span.comments").text(),p=o.find("span.hits").text(),c="";(GM_getValue("gbpu_blog_list_show_avatars",!1)===!0||"true"==GM_getValue("gbpu_blog_list_show_avatars",!1))&&(c=s(g));var m=jq(this).find("figure");m.css("display","block"),m.css("width","100px"),m.css("position","relative"),m.css("left","0"),m.css("top","0"),t+="<tr>",t+='<td style="text-align:center; width:100px;" class="gbc_img_auteur_post">',t+='<div style="position: relative; left: 0; top: 0;">',t+=m.clone().wrap("<p>").parent().html(),""!=c&&(t+='<img style="position: absolute; height: 40px; border: 5px solid rgb(195, 195, 195); border-radius: 50%; width: 40px; top: -10px; left: -15px;" class="gbc_img_profil" src="'+c+'">'),t+="</div>",t+="</td>",t+="<td style='vertical-align:middle !important; padding-left:15px;'>",t+='<a class="titre" href="'+e+'">'+l+"</a>&nbsp;&nbsp;",t+="</td>",t+="</td>",t+="<td style='vertical-align:middle !important;'>",t+='<div class="infos user"><time>'+r+'</time><span class="likes">'+u+'</span><span class="comments">'+f+'</span><span class="hits">'+p+"</span></div>",t+="</td>",t+="</tr>",t+='<tr style="text-align:center;"><td><a class="vert" href="'+a+'">'+i+"</a></td></tr>",t+="<tr><td>&nbsp;</td></tr>",jq(this).remove()}),jq(".gb_actu3:first > h2.rubrique").after(t),jq(".gb_actu3:first").show(),jq(".gbc_wait").remove()}function l(){var e='<iframe style="height:100vh;" id="gbc_iframe" src="http://www.gameblog.fr/communaute.php"></iframe>';jq(".bloc300").append(e),jq("#gbc_iframe").hide()}function o(){var e=GM_getValue("gbpu_show_smiley",!1),t=GM_getValue("gbpu_hide_twitter",!1),l=GM_getValue("gbpu_hide_images",!1),o=jq("h2.rubrique").eq(2);o.length<1&&(o=jq("h2.rubrique"));var a="#00ACEE";("true"==t||1==t)&&(a="#C3C3C3");var s='&nbsp;<a style="text-decoration:none;" id="gbc_toogle_twitter"><span gbtitle="via Twitter" data-icon="t" style="cursor:pointer; color: '+a+'" title="Afficher les messages twitter"></span></a>';o.append(s),i(t,e,l)}function i(e,t,l){"true"==e?e=!0:"false"==e&&(e=!1);var o=jq(".statut");o.each(function(o){var i=jq(this),a=i.find("a").eq(0).text().toUpperCase(),s=GM_getValue("gbpu_blacklist","");if(-1!=s.indexOf(a)||e&&(-1!=i.html().indexOf('<a href="http://www.twitter.com/')&&-1!=i.html().indexOf("@")||-1!=i.html().indexOf('<a href="http://search.twitter.com/')&&-1!=i.html().indexOf("@")||-1!=i.html().indexOf('<a href="http://www.twitter.com/')&&-1!=i.html().indexOf("#")||-1!=i.html().indexOf('<a href="http://search.twitter.com/')&&-1!=i.html().indexOf("#")))jq(".statut").eq(o).hide();else{if(jq(".statut").eq(o).show(),"true"==l||l===!0){var g=i.find("p:first").find("img");g.each(function(){var e=jq(this).attr("src");jq(this).replaceWith('<a href="'+e+'" class="gbc_image_min"><img src="http://www.gameblog.fr/images/blogs/29207/177605.png"></a><div" class="gbc_hidden_image"><img style="max-width:200px;" src="'+e+'"></div>')}),jq(".gbc_hidden_image").hide()}("true"==t||t===!0)&&i.html(convertSmiley(i.html()))}})}function a(e){e?(GM_setValue("gbpu_hide_gamecam",!0),jq(".blocCam").hide()):(GM_setValue("gbpu_hide_gamecam",!1),jq(".blocCam").show())}function s(e){var t="www.gameblog.fr/forum/public/style_images/master/profile/default_large.png";return"200"!=g("http://www.gameblog.fr/forum/uploads/profile/photo-"+e+".jpg")?"200"!=g("http://www.gameblog.fr/forum/uploads/profile/photo-"+e+".png")?"200"!=g("http://www.gameblog.fr/forum/uploads/profile/photo-"+e+".jpeg")?"200"!=g("http://www.gameblog.fr/forum/uploads/profile/photo-"+e+".gif")?"200"!=g("http://www.gameblog.fr/forum/uploads/profile/photo-thumb-"+e+".jpg")?"200"!=g("http://www.gameblog.fr/forum/uploads/profile/photo-thumb-"+e+".jpeg")?"200"!=g("http://www.gameblog.fr/forum/uploads/profile/photo-thumb-"+e+".png")?"200"!=g("http://www.gameblog.fr/forum/uploads/profile/photo-thumb-"+e+".gif")&&(t="http://www.gameblog.fr/forum/uploads/profile/photo-thumb-"+e+".gif"):t="http://www.gameblog.fr/forum/uploads/profile/photo-thumb-"+e+".png":t="http://www.gameblog.fr/forum/uploads/profile/photo-thumb-"+e+".jpeg":t="http://www.gameblog.fr/forum/uploads/profile/photo-thumb-"+e+".jpg":t="http://www.gameblog.fr/forum/uploads/profile/photo-"+e+".gif":t="http://www.gameblog.fr/forum/uploads/profile/photo-"+e+".jpeg":t="http://www.gameblog.fr/forum/uploads/profile/photo-"+e+".png":t="http://www.gameblog.fr/forum/uploads/profile/photo-"+e+".jpg",t}function g(e){var t=jq.ajax({type:"HEAD",url:e,async:!1});return t.status}var r=window.location.pathname,u=r.substring(r.lastIndexOf("/")+1);"communaute.php"==u?(("true"==GM_getValue("gbpu_blog_list",!1)||GM_getValue("gbpu_blog_list",!1)===!0)&&setTimeout(t,1e3),e()):u.startsWith("statuts.php",0)?i(GM_getValue("gbpu_hide_twitter",!1),GM_getValue("gbpu_show_smiley",!1),!1):(GM_getValue("gbpu_show_iframe",!1)===!0||"true"==GM_getValue("gbpu_show_iframe",!1))&&l(),jq("#gbc_toogle_twitter").on("click",function(){"true"==GM_getValue("gbpu_hide_twitter",!1)||GM_getValue("gbpu_hide_twitter",!1)===!0?(GM_setValue("gbpu_hide_twitter",!1),jq("#gbc_toogle_twitter").find("span").css("color","#00ACEE"),i(!1,!1,!1)):(GM_setValue("gbpu_hide_twitter",!0),jq("#gbc_toogle_twitter").find("span").css("color","#C3C3C3"),i(!0,!1,!1))}),jq(".gbc_image_min").on("click",function(e){e.preventDefault();var t=jq(this).attr("href");gbpuAlert('<a href="'+t+'" target="_blank"><img src="'+t+'" style="max-height:80vh;"></a>"')}).mouseover(function(){jq(this).next(".gbc_hidden_image").show()}).mouseout(function(){jq(this).next(".gbc_hidden_image").hide()}),jq("#gbc_gameblog_power_up").on("click",function(e){e.preventDefault(),gbpuAlert(BuildFormParametrie()),jq("#filactusize").bind("change",function(e){e.preventDefault();var t=jq(this).val(),l=jq(".homeCommunaute:first");switch(GM_setValue("gbpu_size_fil_actu",t),t){case"Normale":l.css("height","495px"),jq("#gbLastActivity").css("height","480px");break;case"Grande":l.css("height","895px"),jq("#gbLastActivity").css("height","680px");break;case"Enorme":l.css("height","1195px"),jq("#gbLastActivity").css("height","980px");break;case"Masquer":l.css("height","200px"),jq("#gbLastActivity").css("height","0px")}gb.scrollbars[0].recalculateLayout()}),jq("#show_smiley").bind("click",function(){GM_setValue("gbpu_show_smiley",jq(this).is(":checked")),jq(this).is(":checked")&&i(GM_getValue("gbpu_hide_twitter",!1),!0,!1)}),jq("#hide_twitter").bind("click",function(){GM_setValue("gbpu_hide_twitter",jq(this).is(":checked")),jq(this).is(":checked")?jq("#gbc_toogle_twitter").find("span").css("color","#C3C3C3"):jq("#gbc_toogle_twitter").find("span").css("color","#00ACEE"),i(jq(this).is(":checked"),!1,!1)}),jq("#hide_gamecam").bind("click",function(){GM_setValue("gbpu_hide_gamecam",jq(this).is(":checked")),a(jq(this).is(":checked"))}),jq("#hide_imgs").bind("click",function(){GM_setValue("gbpu_hide_images",jq(this).is(":checked")),jq(this).is(":checked")?i(GM_getValue("gbpu_hide_twitter",!1),GM_getValue("gbpu_show_smiley",!1),!0):(jq(".gbc_image_min").remove(),jq(".gbc_hidden_image").show())}),jq("#blog_list").bind("click",function(){GM_setValue("gbpu_blog_list",jq(this).is(":checked")),jq(this).is(":checked")&&(jq("#blog_list_show_avatars")[0].disabled=!1)}),jq("#blog_list_show_avatars").bind("click",function(){GM_setValue("gbpu_blog_list_show_avatars",jq(this).is(":checked"))}),jq("#show_iframe").bind("click",function(){GM_setValue("gbpu_show_iframe",jq(this).is(":checked"))}),jq("#black_list").bind("blur",function(){GM_setValue("gbpu_blacklist",jq(this).val().toUpperCase()),i(GM_getValue("gbpu_hide_twitter",!1),GM_getValue("gbpu_show_smiley",!1),!1)})}),jq("img.gbc_img_profil").error(function(){jq(this).remove()}),jq("#gbc_iframe").load(function(){jq(".bloc300").append(jq(this).contents().find("section").eq(3).html()),jq(this).remove(),jq(".gbc_image_min").remove(),jq(".gbc_hidden_image").show(),i(GM_getValue("gbpu_hide_twitter",!1),GM_getValue("gbpu_show_smiley",!1))}),jq(document).ready(function(){function e(){i=!0,document.getElementById("elRaptorShriek").play(),a.animate({bottom:"0"},function(){jq(this).animate({bottom:"-130px"},100,function(){var e=jq(this).position().left+400;jq(this).delay(300).animate({right:e},2200,function(){a=jq("#elRaptor").css({bottom:"-700px",right:"0"}),i=!1})})})}var t=(jq(this),!0),l='<img id="elRaptor" style="display: none" src="http://www.gameblog.fr/images/blogs/29207/178106.png" />',o='<audio id="elRaptorShriek" preload="auto"><source src="http://webeestudio.fr/adrien/Raptorize-Kit/pokestartfight.mp3" /></audio>',i=!1;jq("body").append(l),t&&jq("body").append(o);var a=jq("#elRaptor").css({position:"fixed",bottom:"-700px",right:"0",display:"block","z-index":"99999999"});if(window.addEventListener){var s=[],g="38,38,40,40,37,39,37,39,66,65";window.addEventListener("keydown",function(t){s.push(t.keyCode),s.toString().indexOf(g)>=0&&(i||e(),s=[])},!0)}})}function BuildFormParametrie(){var e='<span style="float: left; width: 350px;"></span>';return e+='<label style="float: left;"><b>Taille du fil d\'actu :</b></label>',e+='<select style="float: right;" id="filactusize">',e+="<option "+("Normale"==GM_getValue("gbpu_size_fil_actu","Normale")?'selected="selected"':"")+">Normale</option>",e+="<option "+("Grande"==GM_getValue("gbpu_size_fil_actu","Normale")?'selected="selected"':"")+">Grande</option>",e+="<option "+("Enorme"==GM_getValue("gbpu_size_fil_actu","Normale")?'selected="selected"':"")+">Enorme</option>",e+="<option "+("Masquer"==GM_getValue("gbpu_size_fil_actu","Normale")?'selected="selected"':"")+">Masquer</option>",e+="</select><br><br>",e+='<label style="float: left;"><b>Afficher les smileys* :</b></label>',e+="<input "+(GM_getValue("gbpu_show_smiley",!1)===!0||"true"==GM_getValue("gbpu_show_smiley",!1)?'checked="checked"':"")+' style="float: right;" id="show_smiley" type="checkbox"><br><br>',e+='<label style="float: left;"><b>Masquer les synchros twitter :</b></label>',e+="<input "+(GM_getValue("gbpu_hide_twitter",!1)===!0||"true"==GM_getValue("gbpu_hide_twitter",!1)?'checked="checked"':"")+' style="float: right;" id="hide_twitter" type="checkbox"><br><br>',e+='<label style="float: left;"><b>Masquer la gamecam :</b></label>',e+="<input "+(GM_getValue("gbpu_hide_gamecam",!1)===!0||"true"==GM_getValue("gbpu_hide_gamecam",!1)?'checked="checked"':"")+' style="float: right;" id="hide_gamecam" type="checkbox"><br><br>',e+='<label style="float: left;"><b>Masquer les images* :</b></label>',e+="<input "+(GM_getValue("gbpu_hide_images",!1)===!0||"true"==GM_getValue("gbpu_hide_images",!1)?'checked="checked"':"")+' style="float: right;" id="hide_imgs" type="checkbox"><br><br>',e+='<label style="float: left;"><b>Dernier posts de blogs sous forme de liste* : </b></label>',e+="<input "+(GM_getValue("gbpu_blog_list",!1)===!0||"true"==GM_getValue("gbpu_blog_list",!1)?'checked="checked"':"")+' style="float: right;" id="blog_list" type="checkbox"><br><br>',e+='<label class="show_avatars" style="float: left;"><b>Afficher aussi les images de profil sur les derniers posts** : </b></label>',e+='<input  class="show_avatars"'+(GM_getValue("gbpu_blog_list_show_avatars",!1)===!0||"true"==GM_getValue("gbpu_blog_list_show_avatars",!1)?'checked="checked"':"")+' style="float: right;" id="blog_list_show_avatars" type="checkbox" '+(GM_getValue("gbpu_blog_list",!1)!==!0&&"true"!=GM_getValue("gbpu_blog_list",!1)?'disabled="disabled"':"")+"><br><br>",e+='<label class="show_avatars" style="float: left;"><b>Blacklister les statuts des personnes suivantes : </b></label>',e+='<br><input type="text" value="'+GM_getValue("gbpu_blacklist","")+'" style="width:370px; float: left;" id="black_list" placeholder="S�parer les noms par un �;� exp : AdrienXL; Fachewachewa"><br><br>',e+='<label style="float: left;"><b>Afficher le flux de statuts sur la page � Tous les posts de blogs � : </b></label>',e+="<input "+(GM_getValue("gbpu_show_iframe",!1)===!0||"true"==GM_getValue("gbpu_show_iframe",!1)?'checked="checked"':"")+' style="float: right;" id="show_iframe" type="checkbox"><br><br>',e+='<span style="float: left;" class="gris">*Ces options requi�rent un rechargement de la page</span><br>',e+='<span style="float: left;" class="gris">**Ces options ralentissent notablement le chargement de la page</span><br><br>'}function convertSmiley(e){var t=new Array;t[":blush:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/blush.png",t[":tired:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/tired.gif",t[":tomato:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/tomato.gif",t[":walkman:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/walkman.gif",t[":whip:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/whip.gif",t[":worship:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/worship.gif",t[":diablo:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/45.gif",t[":lazy:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/47.gif",t[":starwars:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/73.gif",t[":smart:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/smart.gif",t[":silence:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/silence.gif",t[":puke:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/puke.gif",t[":blush3:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/blush3.gif",t[":vieux:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/starac.gif",t[":metal:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/137752.gif",t[":angel:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/angel.gif",t[":beer:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/beer1.gif",t[":blowup:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/blowup.gif",t[":horse:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/horse.gif",t[":injured:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/injured1.gif",t[":cylon:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/78.gif",t[":evil:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/80.gif",t[":gathering:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/81.gif",t[":woah:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/101.gif",t[":cheer:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/102.gif",t[":tv:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/104.gif",t[":bored:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/18.gif",t[":pulp:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/21.gif",t[":sorry:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/37.gif",t[":dunno:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/39.gif",t[":bisou:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/84.gif",t[":guitar:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/68.gif",t[":drummer:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/66.gif",t[":champion:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/61.gif",t[":police:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/85.gif",t[":bave2:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/90.gif",t[":excite:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/97.gif",t[":console:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/99.gif",t[":kiss:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/83.gif",t[":bench:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/60.gif",t[":group:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/103.gif",t[":secret:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/33.gif",t[":jump:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/82.gif",t[":mellow:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/mellow.png",t[":angry:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/angry.png",t[":("]="http://www.gameblog.fr/forum/public/style_emoticons/default/sad.png",t[":unsure:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/unsure.png",t[":wacko:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/wacko.png",t[":blink:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/blink.png",t[" :/"]="http://www.gameblog.fr/forum/public/style_emoticons/default/confused.gif",t[":japh:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/japh.gif",t[":rtfm:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/rtfm.gif",t[":wub:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/wub.png",t[":)"]="http://www.gameblog.fr/forum/public/style_emoticons/default/smile.png",t["<_<"]="http://www.gameblog.fr/forum/public/style_emoticons/default/dry.png",t[":huh:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/huh.png",t["^_^"]="http://www.gameblog.fr/forum/public/style_emoticons/default/happy.png",t["^^"]="http://www.gameblog.fr/forum/public/style_emoticons/default/happy.png",t[":o"]="http://www.gameblog.fr/forum/public/style_emoticons/default/ohmy.png",t[":O"]="http://www.gameblog.fr/forum/public/style_emoticons/default/ohmy.png",t[";)"]="http://www.gameblog.fr/forum/public/style_emoticons/default/wink.png",t[":P"]="http://www.gameblog.fr/forum/public/style_emoticons/default/tongue.png",t[":p"]="http://www.gameblog.fr/forum/public/style_emoticons/default/tongue.png",t["B)"]="http://www.gameblog.fr/forum/public/style_emoticons/default/cool.png",t["b)"]="http://www.gameblog.fr/forum/public/style_emoticons/default/cool.png",t[":rolleyes:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/rolleyes.gif",t["-_-"]="http://www.gameblog.fr/forum/public/style_emoticons/default/sleep.png",t[":busted_red:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/busted_red.gif",t[":wry:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/wry.gif",t[":hypocrite:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/hypocrite.gif",t[":geek:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/geek.gif",t[":censored:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/censored.png",t[":'("]="http://www.gameblog.fr/forum/public/style_emoticons/default/cry3.gif",t[":cry3:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/cry3.gif",t[":yes:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/yes.gif",t[":thumbup:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/thumbup.gif",t[":bave:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/bave.gif",t[":genre:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/genre.png",t[":censored2:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/censored.gif",t[":punish_hang:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/punish_hang.gif",t[":thumbdown2:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/thumbdown2.gif",t[":eyebrow:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/eyebrow.gif",t[":whistling:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/whistling.gif",t[":cry5:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/cry5.gif",t[":wallbash:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/wallbash.gif",t[":sulktongue:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/sulktongue.gif",t[":thumbdown:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/thumbdown.gif",t[":shock3:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/shock3.gif",t[":thumbdown3:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/thumbdown3.gif",t[":helptitanic:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/helptitanic.gif",t[":yahoo:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/yahoo.gif",t[":ph34r:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/ph34r.gif",t[":mellow2:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/mellow.gif",t[":angry2:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/angry.gif",t[":D"]="http://www.gameblog.fr/forum/public/style_emoticons/default/biggrin.gif",t[":d"]="http://www.gameblog.fr/forum/public/style_emoticons/default/biggrin.gif",t[":ninja:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/ninja.gif",t[":zombie:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/zombie.gif",t[":lol:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/laugh.gif",t[":hal:"]="http://www.gameblog.fr/forum/public/style_emoticons/default/HAL9000.png";var l=[],o=/[[\]{}()*+?.\\|^$\-,&#\s]/g;for(var i in t)t.hasOwnProperty(i)&&l.push("("+i.replace(o,"\\$&")+")");return e.replace(new RegExp(l.join("|"),"g"),function(e){return"undefined"!=typeof t[e]?'<img class="gbc_smiley" src="'+t[e]+'"/>':e})}function gbpuAlert(e){jq("#gbMsg")&&jq("#gbMsg").remove(),alert(e)}var jq,GM_JQ=document.createElement("script");GM_JQ.src="//ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js",GM_JQ.type="text/javascript",document.getElementsByTagName("head")[0].appendChild(GM_JQ),GM_wait();