draw.io

Deletes annoying bars in draw.io sites

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.

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        draw.io
// @namespace   Test
// @include     *draw.io/*
// @version     1.1
// @grant       none
// @description Deletes annoying bars in draw.io sites
// @icon https://www.draw.io/images/apple-touch-icon-ipad.png
// ==/UserScript==
function removeFooter ()
{
	// Element anhand des Css-Namens finden
	var footer = document.getElementsByClassName ('geFooterContainer')[0];
	// Element entfernen
	if (footer != null)
	{
		footer.outerHTML = '';
	}
	// Den Abstand der Bearbeitungsfläche zum Boden der Website auf 0 setzen

	var diagram = document.getElementsByClassName('geDiagramContainer')[0];
	if (diagram != null)
	{
	    diagram.style.bottom = '0px';
	}

	var sidebar1 = document.getElementsByClassName ('geSidebarContainer')[1];
	// Element entfernen
	if (sidebar1 != null)
	{
	    sidebar1.outerHTML = '';
	}

	var sidebar2 = document.getElementsByClassName ('geSidebarContainer')[0];
	if (sidebar2 != null)
	{
		sidebar2.style.bottom = '0px';
	}
}

//window.setInterval (function () { removeFooter (); }, 1000);
// geFooterContainer

window.addEventListener("load", removeFooter, false);