Monster JTV

Get the full screen

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey, Greasemonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

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

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

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

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्क्रिप्ट व्यवस्थापक एक्स्टेंशन इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्क्रिप्ट व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्टाईल व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

// ==UserScript==
// @name        Monster JTV
// @version    0.65
// @description Get the full screen
// @include        http://*.justin.tv/*
// @include        http://justin.tv/*
// @exclude        http://justin.tv/
// @exclude        http://www.justin.tv/
// @exclude        http://www.justin.tv/directory/*
// @require     http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js
// @grant       GM_addStyle
// @namespace https://greasyfork.org/users/59
// ==/UserScript==

    $(".chat-column").remove();
    $(".global-header").remove();
    $(".global-footer").remove();
    $(".channel-description").remove();
	$(".channel-category").remove();
	$(".channel-details").remove();
	$(".channel-about").remove();
	$(".channel-vods").remove();
	$(".channel-player-info").remove();
    $(".channel-section").remove();
    $(".channel_status").remove();
    $(".bottom-leaderboard-adslot").remove();
	$("#PopUnderChan_holder").remove();
	$(".clearfix:after").removeAttr("content");
	$(".channel-player-holder").css({"padding-bottom":"0"}).css({"height":"100%"}).css({"width":"100%"}).css({"padding-top":"0"}).css({"position":"absolute"});
	$(".channel-player-inner").css({"height":"100%"}).css({"min-height":"0"}).css({"position":"absolute"});
    $(".player-column").css({"width":"100%"}).css({"margin-left":"0px"}).css({"min-width":"0"});
    $(".channel-wrapper").css({"margin":"0"}).css({"min-width":"0"}).css({"margin-top":"0px"}).css({"margin-bottom":"0px"}).css({"padding-left":"0px"});
    
	$(".channel-wrapper").each(function () {
      this.style.setProperty("height", "100%", "important");
      this.style.setProperty("width", "100%", "important");
});

	$(".player-column").each(function () {
      this.style.setProperty("height", "100%", "important");
      this.style.setProperty("width", "100%", "important");
});

	$(".channel-player-inner").each(function () {
      this.style.setProperty("height", "100%", "important");
      this.style.setProperty("width", "100%", "important");
});

//--- Style our newly added elements using CSS.
GM_addStyle ( multilineStr ( function () {/*!
    .clearfix.hidden:after {
        display:               none;

    }
    .clearfix:after {
        content:               '';
    }
    
*/} ) );

function multilineStr (dummyFunc) {
    var str = dummyFunc.toString ();
    str     = str.replace (/^[^\/]+\/\*!?/, '') // Strip function () { /*!
            .replace (/\s*\*\/\s*\}\s*$/, '')   // Strip */ }
            .replace (/\/\/.+$/gm, '') // Double-slash comments wreck CSS. Strip them.
            ;
    return str;
}