- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for urlForInput (0.09 sec)
-
misc/chrome/gophertool/background.js
chrome.omnibox.onInputEntered.addListener(function(t) { var url = urlForInput(t); if (url) { chrome.tabs.query({ "active": true, "currentWindow": true }, function(tab) { if (!tab) return; chrome.tabs.update(tab.id, { "url": url, "selected": true }); }); }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Nov 18 18:14:37 UTC 2019 - 286 bytes - Viewed (0) -
misc/chrome/gophertool/popup.js
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Sun Oct 21 17:05:21 UTC 2012 - 1020 bytes - Viewed (0) -
misc/chrome/gophertool/gopher.js
var commitRE = /^(?:\d+:)?([0-9a-f]{6,40})$/; // e.g "8486:ab29d2698a47" or "ab29d2698a47" var gerritChangeIdRE = /^I[0-9a-f]{4,40}$/; // e.g. Id69c00d908d18151486007ec03da5495b34b05f5 var pkgRE = /^[a-z0-9_\/]+$/; function urlForInput(t) { if (!t) { return null; } if (numericRE.test(t)) { if (t < 150000) { // We could use the golang.org/cl/ handler here, but
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Sat Jul 11 14:36:33 UTC 2015 - 1.2K bytes - Viewed (0)