Skip to content

Instantly share code, notes, and snippets.

@MrLeebo
Last active December 17, 2015 13:29
Show Gist options
  • Save MrLeebo/5617453 to your computer and use it in GitHub Desktop.
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.
// ==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