Browser Extension, Google Chrome, Javascript, uTube-Search, You-Tube-Search

Update – The You-Tube Search extension for Chrome is now renamed to uTube Search

You-Tube Search was taken down and replaced with uTube Search

You-Tube Search was taken down and replaced with uTube Search

Google is fussy about copyright stuff and browser extensions. I used a dash in the name to get around their copyright rules – they caught me. Google owns youtube.com, as well as you-tube.com apparently (even though it doesn’t resolve, it goes through google nameservers) – they don’t own utube.com (Universal Tube & Rollform Equipment Corporation does – I don’t think they’ll complain about my browser extension). So I think this new name will be OK (hopefully). I just want to mention that I am just trying to make searching youtube.com easier and more convenient  – nothing more.  I’m sorry if this caused my users or Google any inconvenience or problems.

The newly named version (uTube Search) is available in the Chrome Store here.

Advertisements
Standard
Browser Extension, Google Chrome, Javascript, You-Tube-Search

Google Chrome Extension – You-Tube (youtube.com) Search, an Omnibox extension

Google Chrome Omnibox Search extension that enables you to search YouTube from the Omnibox.  To use, simply type ‘yt’, a space, and your search query into the Omnibox and it will open your search results up in a new tab.

manifest.json


{
	"name" : "You-Tube Search",
	"short_name": "yt Search",
	"description" : "To use, type 'yt' & space, and a query term into the Omnibox. timothytocci.com",
	"version" : "0.1",
	"background" : {
		"scripts" : ["background.js"]
	},
	"omnibox" : {
		"keyword" : "yt"
	},
	"icons" : {
		"16" : "yt_16.png",
		"32" : "yt_32.png",
		"48" : "yt_48.png",
		"128" : "yt_128.png"
	},
	"manifest_version" : 2
}

background.js


chrome.omnibox.onInputEntered.addListener(function (text) {
	var createProperties = {
		url : "http://www.youtube.com/results?search_query="
		 + encodeURIComponent(text)
	};
	chrome.tabs.create(createProperties);
});
chrome.omnibox.onInputStarted
.addListener(function () {
	var suggestion = {
		description : "Search YouTube for the query: %s "
	}
	chrome.omnibox.setDefaultSuggestion(suggestion);
});

Install You-Tube Search Extension (chrome store)

Standard