Skip to content

Instantly share code, notes, and snippets.

@hawkesn
Last active September 21, 2021 06:43
Show Gist options
  • Save hawkesn/ddfdb6f35ad23e8f4a00439bcaddaaa6 to your computer and use it in GitHub Desktop.
Save hawkesn/ddfdb6f35ad23e8f4a00439bcaddaaa6 to your computer and use it in GitHub Desktop.
aws_vpn_close.js
// ==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