EKINO.TV fixer

Various fixes for ekino.tv

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            EKINO.TV fixer
// @description     Various fixes for ekino.tv 
// @author          Daniel Skowroński <[email protected]>
// @version         0.1
// @match           http://www.ekino.tv/*
//
// @namespace https://greasyfork.org/users/10018
// ==/UserScript==

function addjQuery(callback) {  //ładowanie jQueryego dla wszystkich platform
  var script = document.createElement("script");
  script.setAttribute("src", "//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js");
  script.addEventListener('load', function() {
    var script = document.createElement("script");
    script.textContent = "window.jQ=jQuery.noConflict(true);(" + callback.toString() + ")();";
    document.body.appendChild(script);
  }, false);
  document.body.appendChild(script);
}

function main() {
  //001 - better player height
  var player_height=400;
  $(".playersContainer").css("height", player_height+40+"px");
  $("#free_player").css("height", player_height+40+"px");
  $("#free_player iframe").css("height", player_height+"px");
}

addjQuery(main);//ładuj jQ