There are 5 previous versions of this script.
// cast upper
// version 0.52
// ט באלול התשסח
// 2008-09-09
// Copyright (c) 2008, Amiad B.
// // contact: http://www.contactify.com/4f7bc
// Released under the GPL license
// http://www.gnu.org/copyleft/gpl.html
//
// --------------------------------------------------------------------
//
// This is a Greasemonkey user script.
//
// To install, you need Greasemonkey: http://greasemonkey.mozdev.org/
// Then restart Firefox and revisit this script.
// Under Tools, there will be a new menu item to "Install User Script".
// Accept the default configuration and install.
//
// To uninstall, go to Tools/Manage User Scripts,
// select "cast upper", and click Uninstall.
//
// --------------------------------------------------------------------
//
// ==UserScript==
// @name cast upper
// @namespace http://amiad.blogli.co.il
// @description Fix cast up video (sport 5, zap, shesh.co.il, 103FM)
// @include http://switch*.castup.net/customers/*
// @exclude http://switch*.castup.net/*flv*
// ==/UserScript==
(function() {
var url=unescape(window.location.href);
url=url.toLowerCase();
var istart=url.indexOf("clipurl");
var iend=url.length;
istart+=8;
url=url.substring(istart, iend);
//skip ads in sport5
istart=url.indexOf("&catid=");
if (istart!=-1)
{url=url.substring(0,url.length-10);}
url+="&catid=-1";
window.location.href =url;
})();
