Combo Breaker

Adds a C-C-Combo Breaker button and function to the Kongregate chat

スクリプトをインストールするには、Tampermonkey, GreasemonkeyViolentmonkey のような拡張機能のインストールが必要です。

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

スクリプトをインストールするには、TampermonkeyViolentmonkey のような拡張機能のインストールが必要です。

スクリプトをインストールするには、TampermonkeyUserscripts のような拡張機能のインストールが必要です。

このスクリプトをインストールするには、Tampermonkeyなどの拡張機能をインストールする必要があります。

このスクリプトをインストールするには、ユーザースクリプト管理ツールの拡張機能をインストールする必要があります。

(ユーザースクリプト管理ツールは設定済みなのでインストール!)

このスタイルをインストールするには、Stylusなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus などの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus tなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

(ユーザースタイル管理ツールは設定済みなのでインストール!)

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
// ==UserScript==
// @name           Combo Breaker
// @namespace      ganthor93@kongregate
// @description    Adds a C-C-Combo Breaker button and function to the Kongregate chat
// @include        http://www.kongregate.com/games/*/*
// @version 0.0.1.20160306135213
// ==/UserScript==
if (/^\/?games\/[^\/]+\/[^\/?#]+([\?#].*)?$/.test(window.location.pathname)) {
setTimeout(function(){
javascript:void(window.location.assign("javascript:$('header').innerHTML+='<style>.CCCB{clear:none;margin:0px;padding:0px 5px;} .CCCBc{position:absolute;left:185px;top:3px}</style>';var timeObj={time:0};function comboBreaker(){if(timeObj.time < new Date().getTime()){sendChatMessage('C-C-Combo Breaker');timeObj.time=new Date().getTime()+7000}holodeck.activeDialogue()._input_node.focus();return false};function sendChatMessage(a){a = a.replace(/\\\\(?!u[0-9a-fA-f]{4}|x[0-9a-fA-f]{2})/g, '\\\\\\\\');dispatchToKonduit({type:KonduitEvent.ROOM_MESSAGE,data:{message:a,room:holodeck.chatWindow()._active_room._room}});return a;};holodeck.addChatCommand('cccb', comboBreaker);holodeck.addChatCommand('CCCB', comboBreaker);(function(){var a=$$('.room_name_container'),b,i;for(i in a){if(!(b=a[i]).CCCB)b.CCCB=b.innerHTML+=\"<span class='CCCBc'><input type='button' onclick='comboBreaker();' class='CCCB' value='CCCB'></span>\";}})();window.comboBreaker=comboBreaker;window.sendChatMessage=sendChatMessage;void(0);"));
}, 1250);
}