By Yehuda B.
—
Last update
Dec 17, 2008
—
Installed
380 times.
// yes EPG user script
// version 0.1
// 2008-12-17
// Copyright (c) 2008, Yehuda B.
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
// http://www.gnu.org/licenses/gpl.html
//
// ==UserScript==
// @name yes EPG
// @namespace http://yehudab.com
// @description Fix display issues in yes (Israel sat. TV) EPG
// @include http://*.yes.co.il/*
// ==/UserScript==
function addGlobalStyle(css) {
var head, style;
head = document.getElementsByTagName('head')[0];
if (!head) { return; }
style = document.createElement('style');
style.type = 'text/css';
style.innerHTML = css;
head.appendChild(style);
}
addGlobalStyle(".header .nav {float:none !important;padding:20px 220px 6px 0 !important;width:auto !important;}");
addGlobalStyle(".header .subNav {white-space:nowrap !important}");
addGlobalStyle(".td_sub_nav_bullet {float:none; padding:0 4px;}");
addGlobalStyle(".mainCol {margin:0px !important}");
addGlobalStyle(".selectorLine .chSelect select { width: 155px !important}");
addGlobalStyle(".breadcrumbs {float:none !important; width:auto !important;}");
addGlobalStyle("#tdMivza {display:none !important}");
addGlobalStyle(".chLeft .logIn input { width: auto}");