<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://70.231.62.181/index.php?action=history&amp;feed=atom&amp;title=MyWiki%3AWikiProject_User_scripts%2FScripts%2FGoogle_search</id>
	<title>MyWiki:WikiProject User scripts/Scripts/Google search - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://70.231.62.181/index.php?action=history&amp;feed=atom&amp;title=MyWiki%3AWikiProject_User_scripts%2FScripts%2FGoogle_search"/>
	<link rel="alternate" type="text/html" href="http://70.231.62.181/index.php?title=MyWiki:WikiProject_User_scripts/Scripts/Google_search&amp;action=history"/>
	<updated>2026-04-22T18:18:52Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>http://70.231.62.181/index.php?title=MyWiki:WikiProject_User_scripts/Scripts/Google_search&amp;diff=13848814&amp;oldid=prev</id>
		<title>imported&gt;ST47: Protected Wikipedia:WikiProject User scripts/Scripts/Google search: protect against abuse - arbitrary code injection [edit=sysop:move=sysop] [cascading]</title>
		<link rel="alternate" type="text/html" href="http://70.231.62.181/index.php?title=MyWiki:WikiProject_User_scripts/Scripts/Google_search&amp;diff=13848814&amp;oldid=prev"/>
		<updated>2007-10-22T00:42:15Z</updated>

		<summary type="html">&lt;p&gt;Protected Wikipedia:WikiProject User scripts/Scripts/Google search: protect against abuse - arbitrary code injection [edit=sysop:move=sysop] [cascading]&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This script makes the wikipedia search bar use google.  Hitting enter or clicking G does a google search for the term with the en.wikipedia.org domain.  Clicking lucky goes directly to the first result of the search.  Script courtesy of [[User:Splarka|Splarka]]. &amp;lt;br&amp;gt;&lt;br /&gt;
:--[[User:St.isaac|St.isaac]] 21:29, 17 July 2007 (UTC)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
addOnloadHook(function() {&lt;br /&gt;
  document.getElementById(&amp;#039;searchform&amp;#039;).action = &amp;#039;http://www.google.com/search&amp;#039;; &lt;br /&gt;
  document.getElementById(&amp;#039;searchInput&amp;#039;).name = &amp;#039;q&amp;#039;; &lt;br /&gt;
  document.getElementById(&amp;#039;searchGoButton&amp;#039;).name = &amp;#039;btnG&amp;#039;; &lt;br /&gt;
  document.getElementById(&amp;#039;mw-searchButton&amp;#039;).name = &amp;#039;btnI&amp;#039;; &lt;br /&gt;
  document.getElementById(&amp;#039;searchGoButton&amp;#039;).value = &amp;#039;G&amp;#039;; &lt;br /&gt;
  document.getElementById(&amp;#039;mw-searchButton&amp;#039;).value = &amp;#039;Lucky!&amp;#039;; &lt;br /&gt;
  var enwp = document.createElement(&amp;#039;input&amp;#039;);&lt;br /&gt;
  enwp.id = &amp;#039;as_sitesearch&amp;#039;;&lt;br /&gt;
  enwp.name = &amp;#039;as_sitesearch&amp;#039;;&lt;br /&gt;
  enwp.value = &amp;#039;en.wikipedia.org&amp;#039;;&lt;br /&gt;
  enwp.type = &amp;#039;hidden&amp;#039;;&lt;br /&gt;
  document.getElementById(&amp;#039;searchform&amp;#039;).appendChild(enwp);&lt;br /&gt;
  return false;&lt;br /&gt;
});&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;ST47</name></author>
	</entry>
</feed>