Skip to content

Instantly share code, notes, and snippets.

@aim-up
Last active February 6, 2017 06:38
Show Gist options
  • Save aim-up/b08caa1fa564e6b29cec322be0c4894b to your computer and use it in GitHub Desktop.
Save aim-up/b08caa1fa564e6b29cec322be0c4894b to your computer and use it in GitHub Desktop.
Charlie's Whiskey Refreshment
// ==UserScript==
// @name Charlie's Whiskey Refreshment
// @description Refreshes ConnectWise every 10 minutes. Take a drink or go back 3 spaces.
// @version 1.0.1
// @author James Dunn
// @namespace jdunn.netfor.com
// @grant none
// @include https://na.myconnectwise.net/*
// @icon https://pbs.twimg.com/profile_images/1176286377/scotch-glass.png
// @updateURL https://gist.github.com/protolif/b08caa1fa564e6b29cec322be0c4894b/raw/cw_refreshment.meta.js
// @downloadURL https://gist.github.com/protolif/b08caa1fa564e6b29cec322be0c4894b/raw/cw_refreshment.user.js
// ==/UserScript==
// ==UserScript==
// @name Charlie's Whiskey Refreshment
// @description Refreshes ConnectWise every 10 minutes. Take a drink or go back 3 spaces.
// @version 1.0.1
// @author James Dunn
// @namespace jdunn.netfor.com
// @grant none
// @include https://na.myconnectwise.net/*
// @icon https://pbs.twimg.com/profile_images/1176286377/scotch-glass.png
// @updateURL https://gist.github.com/protolif/b08caa1fa564e6b29cec322be0c4894b/raw/cw_refreshment.meta.js
// @downloadURL https://gist.github.com/protolif/b08caa1fa564e6b29cec322be0c4894b/raw/cw_refreshment.user.js
// ==/UserScript==
function refreshMe() { window.location.reload(); }
function waitForRefresh() { setTimeout(refreshMe, 600000); }
(waitForRefresh)();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment