Swyter Tweaks for Streamcloud

Gets rid of all the hurdles and directly plays the video in an immersive player.

スクリプトをインストールするには、Tampermonkey, GreasemonkeyViolentmonkey のような拡張機能のインストールが必要です。

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

スクリプトをインストールするには、TampermonkeyViolentmonkey のような拡張機能のインストールが必要です。

スクリプトをインストールするには、TampermonkeyUserscripts のような拡張機能のインストールが必要です。

このスクリプトをインストールするには、Tampermonkeyなどの拡張機能をインストールする必要があります。

このスクリプトをインストールするには、ユーザースクリプト管理ツールの拡張機能をインストールする必要があります。

(ユーザースクリプト管理ツールは設定済みなのでインストール!)

このスタイルをインストールするには、Stylusなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus などの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus tなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

(ユーザースタイル管理ツールは設定済みなのでインストール!)

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
// ==UserScript==
// @name          Swyter Tweaks for Streamcloud
// @description   Gets rid of all the hurdles and directly plays the video in an immersive player.
// @match         http://streamcloud.eu/*
// @grant         none
// @version       2013.12.07
// @author        Swyter
// @namespace https://greasyfork.org/users/4813
// ==/UserScript==

if(btn=document.getElementById("btn_download"))
{
  /* the countdown is capped server-side -- that's actually pretty good */
  btn.addEventListener("DOMSubtreeModified",function(e){
    if (e.target.classList.contains("blue"))
    {
       console.log("Go!",e); e.target.click();
    }
  });
}

else
{
  /* fantastic, heroic, huge, mad skills right here! */
  document.getElementById("turnon").click();

  /* get rid of the huge useless thing on the top and avoid scrolling */
  (header=document.getElementById("header")).parentNode.removeChild(header);
  (footer=document.getElementById("footer")).parentNode.removeChild(footer);
}