MFT Widescreen

Opens page to your browser's full width

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

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

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

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.

(Zateb bir user-style yöneticim var, yükleyeyim!)

// ==UserScript==
// @name MFT Widescreen
// @namespace https://www.mftservice.com
// @description Opens page to your browser's full width
// @include https://www.mftservice.com/*
// @exclude https://www.mftservice.com/courier/web/1000@/*
// @icon https://www.mftservice.com/courier/themes/templates/1000/nbaSqIEUHtappgKhp/files/images/publicis-mft-white_small.jpg
// @version 1.2
// ==/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);
}

// removes hard coded width
addGlobalStyle('#page {width: 100% !important; padding: 0 !important; }');

//widens the left workspace a little
//second line is a workaround to prevent the right view from going to the bottom
addGlobalStyle('#cabinets {width: 250px}');
addGlobalStyle('.wsview {margin: 0 -15px 0 -7px}');

//optional code to remove much of the footer information
addGlobalStyle('#main {margin-bottom: 0px !important; }');
addGlobalStyle('#footer {padding: 0 !important;}');
addGlobalStyle('#securedlogo {height: 0px !important;}');