adding to gitea repo
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
// ==UserScript==
|
||||
// @name CW Auto-Closer
|
||||
// @namespace Violentmonkey Scripts
|
||||
// @match https://sc.247mgmt.com/App_Extensions/*
|
||||
// @grant none
|
||||
// @version 1.0
|
||||
// @noframes
|
||||
// @author -
|
||||
// @description 8/21/2024, 4:41:25 PM
|
||||
// ==/UserScript==
|
||||
|
||||
//Connectwise doesn't auto-close tabs
|
||||
//This is a workaround
|
||||
|
||||
//Works most of the time, but VM userscripts are jank and sometimes break for no reason
|
||||
|
||||
function wait(ms) {
|
||||
return new Promise(resolve => setTimeout(resolve, ms));
|
||||
};
|
||||
|
||||
|
||||
wait(500).then(() => window.close());
|
||||
Reference in New Issue
Block a user