User:Henrik/sandbox/google-search

Copy the following to your monobook.js to replace Wikipedia's search engine with a google search of en.wikipedia.org. If you have any suggestions or problems, please let me know.


 * -Henrik

// User:Henrik/sandbox/google-search (please include this line) function install_search { document.getElementById('searchBody').innerHTML=' '+ ''+ ''+ ''+ ''+ 'Web'+ 'WP'+ ' '; } addOnloadHook(install_search);

Use the following to display both the wikipedia search and the google search:

// User:Henrik/sandbox/google-search (please include this line) function install_search { document.getElementById('searchBody').innerHTML+=' '+ ''+ ''+ ''+ ''+ 'Web'+ 'WP'+ '<INPUT type="submit" name="btnG" VALUE="Google Search" /></FORM> '; } addOnloadHook(install_search);