Last active
September 6, 2016 19:17
-
-
Save yrps/2015139fa43529cf09d09090f14ee4cd to your computer and use it in GitHub Desktop.
greasemonkey: Stay logged in to the rclouddesktop landing page
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name rclouddesktop session extender | |
| // @namespace https://github.com/ncoop | |
| // @description Stay logged in to the rclouddesktop landing page | |
| // @homepageURL https://gist.github.com/ncoop/2015139fa43529cf09d09090f14ee4cd | |
| // @include https://rclouddesktop.raytheon.com/Citrix/XenApp1/site/* | |
| // @icon https://gist.githubusercontent.com/ncoop/2015139fa43529cf09d09090f14ee4cd/raw/b0dfe386383487d1e0311dbd47e7dd2367d2eb88/wfica-256.png | |
| // @version 0.2.5 | |
| // @grant none | |
| // ==/UserScript== | |
| (function() { | |
| "use strict"; | |
| var intervalMinutes = 3; | |
| var cb = resetSessionTimeout; | |
| if (typeof cb == "function") { | |
| var intvId = setInterval(cb, intervalMinutes * 60 * 1000); | |
| console.log("Session refresh ID: " + intvId); | |
| } else { | |
| console.error("Session refresh function unknown."); | |
| } | |
| })(); |
Author
With (grease|tamper)monkey installed and active, click the "Raw" button for the .user.js file. You should get an install prompt.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Where do I put this?