Usuario:JimTittsler/monobook.js
De WikiEducator
Nota: después de guardar, quizás necesites refrescar la caché de tu navegador para ver los cambios.
- Firefox / Safari: Mantén presionada Mayús mientras pulsas el botón Actualizar, o presiona Ctrl+F5 o Ctrl+R (⌘+R en Mac)
- Google Chrome: presiona Ctrl+Shift+R (⌘+Mayús+R en Mac)
- Internet Explorer: mantén presionada Ctrl mientras pulsas Actualizar, o presiona Ctrl+F5
- Opera: vacía la caché en Herramientas → Preferencias
function cleanPages() { var pages = ["/Online_manual", "/Training_resource_development_for_eXe",]; for (var i in pages) { if (window.location.pathname.indexOf(pages[i]) === 0) { document.getElementById("p-logo").innerHTML='<a href="http://eXeLearning.org/"><img src="/images/thumb/4/4a/Exe_RGB_72dpi.jpg/120px-Exe_RGB_72dpi.jpg"></a>'; } } } $(cleanPages); function ccButton() { if (wgPageName == "Special:EmailUser") { var g = document.getElementById("mw-emailuser-recipient"); var button = document.createElement("input"); button.type = "submit"; button.value = "CC:"; g.appendChild(button); var cc = document.createElement("input"); cc.type = "textarea"; g.appendChild(cc); } } $(ccButton); function try_test() { var fileref = document.createElement('script'); fileref.setAttribute("type", "text/javascript"); fileref.setAttribute("src", "/index.php?title=User:JimTittsler/test.js&action=raw&ctype=text/javascript"); document.getElementsByTagName("head")[0].appendChild(fileref); } function try_tag() { var fileref = document.createElement('script'); fileref.setAttribute("type", "text/javascript"); fileref.setAttribute("src", "/index.php?title=User:JimTittsler/t.js&action=raw&ctype=text/javascript"); document.getElementsByTagName("head")[0].appendChild(fileref); } importScript('User:JimTittsler/googlesearch.js'); $(function () { $('#n-recentchanges').after('<li><a href="/Special:NewPages?namespace=all" title="The list of newly created pages">New pages</a></li>'); $('#pt-mytalk') .after('<li><a href="/User:'+wgUserName+'/Blog">blog</a></li>') .after('<li><a href="/User:'+wgUserName+'/Projects">projects</a></li>') .after('<li>' + document.getElementById('content').offsetHeight + 'px</li>'); // change the font and size used for edit box $('#wpTextbox1').css('font-family', 'Courier New').css('font-size', '14px'); // gardening tool if (wgPageName === 'Special:NewPages') { $.getScript('/extensions/WE/spam.js'); } if (wgAction === 'history') { $.getScript('/extensions/WE/deleterevs.js'); } });