您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Allows the use of /r function in chat
当前为
- // ==UserScript==
- // @name Kongregate Chat /r Function
- // @description Allows the use of /r function in chat
- // @version 1.0
- // @include http://www.kongregate.com/games/*
- // require http://userscripts.org/scripts/source/49229.user.js
- // @namespace https://greasyfork.org/users/32649
- // ==/UserScript==
- // Nabb, 1st May 2009: nabb.trap17.com
- // fixed? June 7th
- // This script will add the '/r' feature, a shorthand for reply to whisper.
- // When '/r' is typed, it will be replaced with '/w name' where name is
- // username of the last user who sent a message. In the event that you
- // have no received any messages, it will be replaced with '/w'.
- setTimeout("nL=0;nFE((z='ChatDialogue.prototype.')+'receivedPrivateMessage',x='dMessage(',x+'nL=');nFA(z+'onKeyPress',\"(z=this._input_node).value=='/r'&&a.keyCode==32&&(z.value='/w'+(nL?' '+nL:''))\")",100)