Skip to content

Instantly share code, notes, and snippets.

Created January 9, 2015 17:02
What would you like to do?
HipChat web chat long idle for Chromium/Chrome
// ==UserScript==
// @author Luke Bakken
// @name Hipchat Long Idle
// @namespace org.bowbak.luke
// @description Makes you stay "Available" in hipchat for 8 hours of inactivity instead of 5 minutes
// @match https://*
// @version 1
// @grant none
// @run-at document-end
// ==/UserScript==
var actualCode = ['app.IDLE_DELAY_MS = 28800000;',
'console.log("SET app.IDLE_DELAY_MS TO %d", app.IDLE_DELAY_MS);',
var script = document.createElement('script');
script.textContent = actualCode;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment