TV-Muse quicklinks in list view

Adds links to coke&popcorn to tv-muse.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name          TV-Muse quicklinks in list view
// @description   Adds links to coke&popcorn to tv-muse.
// @include       http://www.tvmuse.com/*
// @require       http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js
// @version       1
// @grant         GM_addStyle
// @namespace https://greasyfork.org/users/2209
// ==/UserScript==

$("span.c2","ul.episodes").each(function( index ) {
    var daten = $("a", this).attr("href").match(/tv-shows\/([^_]+).*season_(\d+).*episode_(\d+)/);
    var show = '';
    if(daten[1]==='NCIS') // special case for NCIS
       show = 'NCIS';
    else
       show = daten[1].toLowerCase();
    var neuerLink = '<a target="_blank" href="http:\/\/www.cokeandpopcorn.ch\/watch-'+show+'-season-'+daten[2]+'-episode-'+daten[3]+'-online.php">C & P</a>&nbsp;&nbsp;&nbsp;&nbsp;';
    
    $(this).prepend(neuerLink);
    
});