coralized-youtube

By psz Last update Aug 8, 2009 — Installed 11,937 times. Daily Installs: 11, 12, 24, 17, 19, 9, 12, 17, 24, 14, 24, 22, 31, 10, 11, 36, 19, 23, 18, 21, 14, 21, 17, 18, 13, 24, 25, 13, 21, 10, 17, 27

There are 1 previous version of this script.

// ==UserScript==
// @name           coralized-youtube
// @description    Uses Coral Content Distribution Network to accelerate video performance on YouTube
// @author         Patryk Szczyglowski <jid:psz@chrome.pl>
// @version        0.4
// @namespace      http://xmlns.patryk.net.pl/greasemonkey/coralized-youtube
// @include        http://youtube.com/watch?*
// @include        http://*.youtube.com/watch?*
// ==/UserScript==

(function() {

	var movie_player = document.getElementById('movie_player');

	if (!movie_player) {
		return;
	}

	var dup_player = movie_player.cloneNode(true);

	dup_player.src = 'http://coralize.net/' + dup_player.src;

	movie_player.parentNode.replaceChild(dup_player, movie_player);

})();