User:JimTittsler/monobook.js

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=''; } } }

addOnloadHook(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); } }

addOnloadHook(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('New pages');  $('#pt-mytalk')    .after('My blog')    .after('My projects')    .after('' + 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('/skins/common/we/spam.js');  }  if (wgAction === 'history') {    $.getScript('/skins/common/we/deleterevs.js');  } }); /* http://en.wikipedia.org/wiki/Wikipedia:WikiProject_User_scripts/Scripts/External_editor */ addOnloadHook(function {   var editTab = document.getElementById("ca-edit");    if (!editTab) return;    var editURL = editTab.getElementsByTagName("a")[0].href;    addPortletLink("p-cactions", editURL + "&externaledit=true", "EE", "ca-exted", "External editor", ""); });