Last active
September 6, 2016 19:17
-
-
Save yrps/6a3ffe9b22e125015deeb025b4585fb8 to your computer and use it in GitHub Desktop.
greasemonkey: Stay logged in to the webvpn landing page
This file contains 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 webvpn session extender | |
// @namespace https://github.com/ncoop | |
// @description Stay logged in to the webvpn landing page | |
// @homepageURL https://gist.github.com/ncoop/6a3ffe9b22e125015deeb025b4585fb8 | |
// @include https://webvpn.raytheon.com/dana/home/index.cgi | |
// @icon https://gist.githubusercontent.com/ncoop/6a3ffe9b22e125015deeb025b4585fb8/raw/726136f10feafb28c8aa81fa8a31033b9ff1d4a1/wfica-mod.png | |
// @version 0.2.4 | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
"use strict"; | |
var intervalMinutes = 10; | |
var intvId = setInterval(function() { | |
location.reload(); | |
}, intervalMinutes * 60 * 1000); | |
console.log("Session refresh ID: " + intvId); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment