cloudlatex keyboard shortcuts

ctrl+s = save, ctrl + b = compile

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         cloudlatex keyboard shortcuts
// @namespace    zeicold
// @version      0.1
// @description  ctrl+s = save, ctrl + b = compile
// @author       Zeicold
// @match        https://cloudlatex.io/*
// @grant        none
// ==/UserScript==

$(document).on("keydown", function(e){
    if (e.ctrlKey && e.which === 83) {
        var save=w2ui.myToolbar;
        if (save) save.click('item0', event);
		e.preventDefault();
        return false;
    }
    if (e.ctrlKey && e.which === 66) {
        var compile=w2ui.myToolbar;
        if (compile) compile.click('item1', event);
		e.preventDefault();
        return false;
    }
});