Last active
September 21, 2021 06:43
-
-
Save hawkesn/ddfdb6f35ad23e8f4a00439bcaddaaa6 to your computer and use it in GitHub Desktop.
aws_vpn_close.js
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 AWS VPN - Close Window | |
// @namespace Violentmonkey Scripts | |
// @match http://127.0.0.1:35001/ | |
// @grant window.close | |
// @version 1.0 | |
// @author Nicholas Hawkes | |
// @description Close the tab when successful AWS VPN is on | |
// @homepage https://gist.github.com/hawkesnc/ddfdb6f35ad23e8f4a00439bcaddaaa6 | |
// ==/UserScript== | |
setInterval(() => { | |
window.close() | |
}, 1000) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment