Last active
December 17, 2015 13:29
-
-
Save MrLeebo/5617453 to your computer and use it in GitHub Desktop.
For folks experiencing an issue on Gameglobe with chat not refreshing, a simple javascript patch to fetch chat every 10 seconds.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name No Chat Hack | |
// @namespace http://www.gameglobe.com/ | |
// @version 0.3 | |
// @description For people who have trouble getting chat updates, automatically refreshes the chat window every 10 seconds. | |
// @match http://www.gameglobe.com/* | |
// ==/UserScript== | |
setInterval(function() { | |
if (unsafeWindow.Bsp.Chat) { | |
unsafeWindow.Bsp.Chat.request_state(); | |
} | |
}, 10000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment