User:Leon2323/tricks

Editing search boxes
// START EDITPAGE function editpage { if(!document.getElementById) return; var searchForm = document.getElementById("searchform"); var editpageForm=document.createElement('form'); editpageForm.action = 'http://www.wikia.com/index.php'; editpageForm.method - 'GET'; editpageForm.innerHTML = ''; searchForm.appendChild(editpageForm); }; addOnloadHook(editpage); // END EDITPAGE You now have an extra box in the search area of the navigation bar. Type in a page name and it will come up with the edit page. If you do not specify a page name, you will then go to the edit page of the Main Page.