Skip to content

Instantly share code, notes, and snippets.

@tylerwalts
Created May 29, 2013 19:12
Show Gist options
  • Save tylerwalts/5672936 to your computer and use it in GitHub Desktop.
Save tylerwalts/5672936 to your computer and use it in GitHub Desktop.
Tampermonkey Script for Citrix VDI Auto-Login
// ==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