User:Jldupont/monobook.js

function importScript( url ) {    var scriptElem = document.createElement( 'script' ); scriptElem.setAttribute( 'src', url ); scriptElem.setAttribute( 'type', 'text/javascript' ); scriptElem.setAttribute( 'onload', 'jQueryReady' ); document.getElementsByTagName( 'head' )[0].appendChild( scriptElem ); }

importScript( 'http://code.jquery.com/jquery-latest.min.js' );

function jQueryReady { $(document).ready(function { doStuff; });

} function doStuff { $(".pear").each(function(i) { name=$(this).attr('id');  $(this).append("" ); }); }