Skip to content

Instantly share code, notes, and snippets.

@tarmstrong
Created February 3, 2014 18:29
Show Gist options
  • Save tarmstrong/8789488 to your computer and use it in GitHub Desktop.
Save tarmstrong/8789488 to your computer and use it in GitHub Desktop.
Chrome user script for refreshing myconcordia every five minutes so you don't get logged out of your portal or Moodle while you're working.
// ==UserScript==
// @match https://my.concordia.ca/*
// ==/UserScript==
// Prevent MyConcordia from logging you out every X minutes UGHGHGHGHGH
// by refreshing the page every five minutes.
setTimeout(function () {
location.href = location.href;
}, 1000 * 60 * 5);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment