Created
May 29, 2013 19:12
-
-
Save tylerwalts/5672936 to your computer and use it in GitHub Desktop.
Tampermonkey Script for Citrix VDI Auto-Login
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 Citrix VDI Auto Login | |
// @version 0.1 | |
// @description Auto-login to Citrix VDI. Replace the ALL-CAPS strings below with your Domain, Username and Password | |
// @match https://myaccess.MYDOMAIN.com/vpn/index.html | |
// @copyright 2013, public domain | |
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js | |
// ==/UserScript== | |
$("input[name=login]").val("MYUSERNAME"); | |
$("input[name=passwd]").val("MYPASSWORD"); | |
if ( $("#feedbackStyle").length === 0 ) { | |
$("input[type=submit]").click(); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment