slackBePolite

polite greetings on slack; will automatically fill in polite greetings when focus on msg_input column

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

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

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

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

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

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.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==UserScript==
// @name         slackBePolite
// @namespace    http://tampermonkey.net/
// @version      0.2
// @description  polite greetings on slack; will automatically fill in polite greetings when focus on msg_input column
// @author       Stanley Zhang
// @match        *://*.slack.com/messages/*
// @requir       https://code.jquery.com/jquery-latest.js
// @grant        none
// @run-at       document-end
// ==/UserScript==

$(window).load(function greets() {
    'use strict';
    $(".ql-editor.ql-blank.focus-ring").text(function(i, oldText){
        return 'お疲れ様です。\n...\nよろしくお願い致します。';
    });
    setTimeout(greets, 2000);
})();