User:God D. Sogeflo/global.js

//MultiM by Think// var groupe_multim=['God D. Sogeflo','Gol D Shanks','Portgas D. Dohv','Defropp','Mr. Katana','Heat Fist Ño Ace','Monkey-d-luffi','Monkey D Chopper','VaLoon']; importScriptPage('Utilisateur:Think_D._Solucer/MultiM.js', 'fr.onepiece'); importArticles({   type: 'script',    articles: [        'u:dev:QuickComments/code.js'    ] }); importArticles({   type: "script",    articles: [        "w:c:dev:MediaWiki:Countdown/code.js"    ] }); //Code by Hulothe d'après l'idée de Flo121297 pour One Piece Encyclopédie

function getDiffLink(url) { return $.ajax({       type: "GET",        url: url    }); } if ($( '#WikiaRail' ).length) { $( '#WikiaRail' ).bind('DOMNodeInserted', function(event) {   if ($( '#WikiaRecentActivity' ).length) {        $( '.WikiaActivityModule li em > a' ).each(function { var $this = $( this ), lien = wgServer + $this.attr( 'href' ) + '?action=history', lienDiff = getDiffLink(lien); lienDiff.success(function(content) {               var link =  $(content).find( '#pagehistory li' ).eq(0).find( '.mw-history-histlinks a' ).attr( 'href' );                $this.parents( 'li' ).find( 'img.sprite.edit' ).replaceWith( '' );            }); });   }  }); }