| Copyright 2011 The Go Authors. All rights reserved. |
| Use of this source code is governed by a BSD-style |
| license that can be found in the LICENSE file. |
| <script src="gopher.js"></script> |
| document.getElementById("inputbox").focus(); |
| var box = document.getElementById("inputbox"); |
| var success = function(url) { |
| console.log("matched " + t + " to: " + url) |
| return false; // cancel form submission |
| var url = urlForInput(t); |
| console.log("no match for text: " + t) |
| chrome.tabs.create({ "url": url }) |
| <body onload="focusinput()" style='margin: 0.5em; font-family: sans;'> |
| <small><a href="#" onclick="openURL('http://code.google.com/p/go/issues/list')">issue</a>, |
| <a href="#" onclick="openURL('http://codereview.appspot.com/')">codereview</a>, |
| <a href="#" onclick="openURL('http://code.google.com/p/go/source/list')">commit</a>, or |
| <a href="#" onclick="openURL('http://golang.org/pkg/')">pkg</a> id/name:</small> |
| <form style='margin: 0' onsubmit="return navigate();"><nobr><input id="inputbox" size=10 /><input type="submit" value="go" /></nobr></form> |
| <small>Also: <a href="#" onclick="openURL('http://godashboard.appspot.com/')">buildbots</small> |