From a7029cb948cb071f80e3968426d0288c79764c56 Mon Sep 17 00:00:00 2001 From: Jan Seipel <Jan.Seipel@swr.de> Date: Fri, 2 Aug 2024 14:18:28 +0200 Subject: [PATCH] =?UTF-8?q?url-identifier=20f=C3=BCr=20dashboard=20um=20ur?= =?UTF-8?q?l=20ohne=20"agenticketdashboard"=20erweitert?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- anfragen-pool-ux-imporver.user.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/anfragen-pool-ux-imporver.user.js b/anfragen-pool-ux-imporver.user.js index fba3b31..b742ba6 100644 --- a/anfragen-pool-ux-imporver.user.js +++ b/anfragen-pool-ux-imporver.user.js @@ -53,8 +53,7 @@ window.addEventListener('load', function() { document.querySelector("#ToolBar li.PhoneTicket > a").setAttribute("target","_blank") // automatischer Reload nach x Sekunden - console.log("repo") - if (URL.includes("AgentDashboard")) { + if (URL.includes("AgentDashboard") || URL === "https://anfragen-pool.swrapp.net/otrs/index.pl" || URL === "https://test-anfragen-pool.swrapp.net/otrs/index.pl") { setInterval(function(){ if ( // stoppt autom. Reload, wenn bestimmte Dialogfenster geöffnet sind document.querySelectorAll("#Overlay").length === 0 && -- GitLab