【聊天室输入框占位符】

可以时刻提醒你注意在聊天室的言行(

// ==UserScript==
// @name         【聊天室输入框占位符】
// @namespace    http://tampermonkey.net/
// @version      0.2
// @description  可以时刻提醒你注意在聊天室的言行(
// @author       Fyratree
// @match        *://hack.chat/?*
// @match        *://crosst.chat/?*
// @match        *://tanchat.fun/?*
// @icon         data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant        GM_setValue
// @grant        GM_getValue
// @license      WTFPL
// ==/UserScript==

(function() {
    'use strict';
        if (!GM_getValue('placeholder')) {
        GM_setValue('placeholder','发一条友善的消息')
    }
    document.getElementById('chatinput').placeholder = GM_getValue('placeholder')
})();