New Style

new style for new Waze

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey 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 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.

Bu betiği indirebilmeniz için ayrıca Tampermonkey gibi bir eklenti kurmanız gerekmektedir.

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         New Style
// @namespace    https://www.waze.com/*
// @version      1.5
// @description  new style for new Waze
// @author       sultan alrefaei
// @match        https://www.waze.com/editor/
// @match        https://www.waze.com/ar/editor/
// @match        https://www.waze.com/editor
// @match        https://www.waze.com/ar/editor
// @match        https://www.waze.com/editor/*
// @match        https://www.waze.com/ar/editor/*
// @match        https://www.waze.com/editor/*
// @match        https://www.waze.com/*
// @grant        none
// @copyright    2017 sultan alrefaei
// ==/UserScript==
addStyle();
window.onload = function(){
    setInterval(function(){
        var URL = window.location.href;
        if (URL.includes("editor")){
            var tit = document.getElementsByClassName("menu-title");
            for (i = 0; i < tit.length; i++){
                if (tit[i].innerText.includes("save") || tit[i].innerText.includes("حفظ")){
                    tit[i].style.color = "#09267b";
                }  
            }
        }
        if (document.getElementById("fasenas") != null){
            document.getElementById("fasenas").onmouseover = function(){
                sil[i].style.border = "2px solid #989494";
                sil[i].style.borderRadius = "5px;";
                sil[i].style.cursor = "pointer";
            }
        }
    },50);
    
}

function addStyle(){
    var style = document.createElement("link");
    style.href = "https://www.dropbox.com/s/gaii1r6m5602uqs/mynewstyle.css?raw=1";
    style.rel = "stylesheet";
    document.getElementsByTagName("head")[0].appendChild(style);
}