AWS VPN - Close Window

Close the tab when successful AWS VPN is on

  1. // ==UserScript==
  2. // @name AWS VPN - Close Window
  3. // @namespace Violentmonkey Scripts
  4. // @match http://127.0.0.1:35001/
  5. // @grant window.close
  6. // @version 1.0
  7. // @author Nicholas Hawkes
  8. // @description Close the tab when successful AWS VPN is on
  9. // @homepage https://gist.github.com/hawkesn/ddfdb6f35ad23e8f4a00439bcaddaaa6
  10. // ==/UserScript==
  11.  
  12. setInterval(() => {
  13. window.close()
  14. }, 1000)

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址