ZDF without flash

The whole ZDF-mediathek is contaminated with the annoying flash stuff. NOBODY wants flash!!

And this site is to go gray… Even if one disables flash on a single page, with a click on a link, flash comes back! Horrible!

So, here is the code:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
// ==UserScript==
// @name           ZDF without flash
// @namespace      binfalse.de
// @description    zdf mediathek is contaminated with f**king flash..
// @include        http://www.zdf.de/ZDFmediathek/*
// ==/UserScript==

if (!document.URL.match (/flash=off/))
{
    var raute = document.URL.indexOf ('#');
    if (raute == -1) raute = document.URL.length;
   
    window.location.href = document.URL.substring(0,  raute) + "?flash=off";
}

That saves lives! ;)

Download:
JavaScript: zdf_without_flash.user.js
(Please take a look at the man-page. Browse bugs and feature requests.)

Leave a Reply