User:Jldupont/monobook.js

// This function allows for dynamically loading scripts into the page's HEAD element function importScript( url ) {    var scriptElem = document.createElement( 'script' ); scriptElem.setAttribute( 'src', url ); scriptElem.setAttribute( 'type', 'text/javascript' );

// register our callback scriptElem.setAttribute( 'onload', 'jQueryReady' ); document.getElementsByTagName( 'head' )[0].appendChild( scriptElem ); }

// Import the always so useful jQuery library from the official CDN importScript( 'http://code.jquery.com/jquery-latest.min.js' );

function jQueryReady { // when the DOM is ready $(document).ready(function { doStuff; }); }

// Insert the PNG images corresponding to the latest version of each extension on User:Jldupont function doStuff { $(".pear").each(function(i) { name=$(this).attr('id');  // Use the Coral CDN   $(this).append("" ); }); }