WME Maximized (Basic)

Modifies the Waze Map Editor layout to provide a larger viewing area for editing.

Από την 11/11/2014. Δείτε την τελευταία έκδοση.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey, το Greasemonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

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

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Userscripts για να εγκαταστήσετε αυτόν τον κώδικα.

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

Θα χρειαστεί να εγκαταστήσετε μια επέκταση διαχείρισης κώδικα χρήστη για να εγκαταστήσετε αυτόν τον κώδικα.

(Έχω ήδη έναν διαχειριστή κώδικα χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

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.

(Έχω ήδη έναν διαχειριστή στυλ χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

// ==UserScript==
// @name          WME Maximized (Basic)
// @version       0.0.5 (Beta)
// @namespace     http://greasyfork.org
// @description	  Modifies the Waze Map Editor layout to provide a larger viewing area for editing.
// @author        SeekingSerenity
// @homepage      https://greasyfork.org/en/scripts/6238-wme-maximized-basic
// @include       https://www.waze.com/editor/*
// @include       https://www.waze.com/*/editor/*
// @include       https://editor-beta.waze.com/*
// @run-at        document-start
// @grant         none
// ==/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('.waze-header { height: 24px !important; }');
addGlobalStyle('.waze-header-logo { background-size: 60px !important; margin: 4px 0px auto auto !important; background-position: top center !important; }');
addGlobalStyle('.waze-header-menu { line-height: 25px !important; font-size: 11px !important; }');
addGlobalStyle('#map-search { line-height: 60px !important; }');
addGlobalStyle('#toolbar.toolbar-button { width: 35px !important; height: 40px !important; }');
addGlobalStyle('#sidebar { max-width: 260px !important; }');
addGlobalStyle('.show-sidebar .row-fluid .fluid-fixed { margin-left:260px !important; }');
addGlobalStyle('#user-info h2 { display:none !important; }');
addGlobalStyle('#sidebar .message { font-size: 12px !important; line-height: 14px  !important; margin: 5px  !important; }');
addGlobalStyle('#sidebar .tab-content { padding: 3px 15px 10px 9px !important; }');
addGlobalStyle('#sidebar #links { width: 320px !important; font-size: 10px !important; background-color: #e9e9e9 !important; border-right: #dfdfdf thin solid !important; }');
/*
addGlobalStyle('.room-name.single-room-label {font-size: 11px !important; padding-left: 8px !important; }');
addGlobalStyle('.dropdown .dropdown-toggle { padding-left: 5px !important; padding-right: 0px !important; }');
addGlobalStyle('.status { font-size: 11px !important; }');
addGlobalStyle('#ChatJumper-JUMP.ChatJumper, #ChatJumper-JUMP-clear { font-size: 11px !important; padding-left: 1px !important; padding-right: 1px !important; }');
 */
addGlobalStyle('.olControlAttribution { margin-left: 45px !important; }');
addGlobalStyle('#WMETB_NavBar.ui-draggable { top: 26px !important; width: 292px !important; height: 56px !important; line-height: 22px !important; color: #000 !important; background-color: #dfdfdf !important; border: #59899E 2px solid !important; }');