Skip to content

Instantly share code, notes, and snippets.

@karpada
Created January 21, 2020 12:32
Show Gist options
  • Save karpada/5a7736a2d09684d556f98d6cbc7275fb to your computer and use it in GitHub Desktop.
Save karpada/5a7736a2d09684d556f98d6cbc7275fb to your computer and use it in GitHub Desktop.
Auto Duo Security - Send push automatically
// ==UserScript==
// @name Auto Duo Security - Send push automatically
// @match https://*.duosecurity.com/*
// @require http://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js
// @require https://gist.github.com/raw/2625891/waitForKeyElements.js
// ==/UserScript==
waitForKeyElements ("#auth_methods > fieldset > div.row-label.push-label > button.auth-button.positive", function(jNode) {
jNode.click()
});
@karpada
Copy link
Author

karpada commented Jan 21, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment