Disable countdown in GorillaVid

Disable countdown button in GorillaVid.in

2015/12/11のページです。最新版はこちら

スクリプトをインストールするには、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         Disable countdown in GorillaVid
// @namespace    Disable countdown in GorillaVid
// @version      0.5
// @description  Disable countdown button in GorillaVid.in
// @author       jscriptjunkie
// @match        http://gorillavid.in/*
// @grant        none
// ==/UserScript==
/* jshint -W097 */
'use strict';

var isPlaying = true;
if($('#btn_download').length > 0) {
    $('#btn_download').attr('disabled', false);
    $$('btn_download').value = 'Continue';
    $$('btn_download').click();
    countDown = function(){
    }
}

if(jwplayer('flvplayer')){
    jwplayer('flvplayer').play();

    $('body').keyup(function(e){
        if(e.keyCode == 32){
            if(isPlaying){
                jwplayer('flvplayer').pause();
                isPlaying = false;
            } else {
                jwplayer('flvplayer').play();
                isPlaying = true;
            }
        }
    });

    setInterval(function(){ 
        if((jwplayer('flvplayer').getDuration() - jwplayer('flvplayer').getPosition()) < 3){
            window.close();
        }
    }, 3000);
}