slackBePolite

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

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

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.

(I already have a user style manager, let me install it!)

// ==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);
})();