Skip to content

Instantly share code, notes, and snippets.

@tarmstrong
Created February 3, 2014 18:29

Revisions

  1. tarmstrong created this gist Feb 3, 2014.
    9 changes: 9 additions & 0 deletions myconcordia-refresh.user.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    // ==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);