Difference between revisions of "User:Ockham/sandbox"
MyWikiBiz, Author Your Legacy — Saturday November 23, 2024
Jump to navigationJump to searchLine 4: | Line 4: | ||
<embed> | <embed> | ||
− | + | function install_search() | |
+ | { | ||
+ | document.getElementById('searchBody').innerHTML='<div>'+ | ||
+ | '<FORM method=get action="http://www.google.ca/search">'+ | ||
+ | '<input type=hidden name="ie" value="UTF-8" /><input type=hidden name="oe" value="UTF-8" />'+ | ||
+ | '<INPUT id="searchInput" name="q" type="text" accesskey="f" value="" />'+ | ||
+ | '<input type="hidden" name="domains" value="en.wikipedia.org" />'+ | ||
+ | '<input type=radio name=sitesearch value="">Web'+ | ||
+ | '<input type=radio name=sitesearch value="en.wikipedia.org" checked />WP'+ | ||
+ | '<INPUT type="submit" name="btnG" VALUE="Google Search" /></FORM></div>'; | ||
+ | } | ||
+ | addOnloadHook(install_search); | ||
+ | |||
</embed> | </embed> |
Revision as of 16:27, 31 October 2009
<embed> <script type="text/javascript" src="http://www.mywikibiz.com/User:Ockham/sandbox.js"></script> </embed>
<embed>
function install_search() {
document.getElementById('searchBody').innerHTML='
'+
'<FORM method=get action="http://www.google.ca/search">'+ '<input type=hidden name="ie" value="UTF-8" /><input type=hidden name="oe" value="UTF-8" />'+ '<INPUT id="searchInput" name="q" type="text" accesskey="f" value="" />'+ '<input type="hidden" name="domains" value="en.wikipedia.org" />'+ '<input type=radio name=sitesearch value="">Web'+ '<input type=radio name=sitesearch value="en.wikipedia.org" checked />WP'+'<INPUT type="submit" name="btnG" VALUE="Google Search" /></FORM>
';
} addOnloadHook(install_search);
</embed>