Skip to content
Snippets Groups Projects
Commit 703fb6e8 authored by Jan Seipel's avatar Jan Seipel
Browse files

weitere url als identifier hinzugefügt

parent 04b30b79
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// @name anfragen-pool-ux-improver // @name anfragen-pool-ux-improver
// @namespace https://test-anfragen-pool.swrapp.net/* // @namespace https://test-anfragen-pool.swrapp.net/*
// @version 2024-08-02_14-36 // @version 2024-08-04_21-19
// @resource DASHBOARD_CSS https://gitlab.ard.de/Jan.Seipel/test-ap-ux-improver/-/raw/main/stylesheets/test-ap-style-dashboard.css // @resource DASHBOARD_CSS https://gitlab.ard.de/Jan.Seipel/test-ap-ux-improver/-/raw/main/stylesheets/test-ap-style-dashboard.css
// @resource TICKETZOOM_CSS https://gitlab.ard.de/Jan.Seipel/test-ap-ux-improver/-/raw/main/stylesheets/test-ap-style-ticketzoom.css // @resource TICKETZOOM_CSS https://gitlab.ard.de/Jan.Seipel/test-ap-ux-improver/-/raw/main/stylesheets/test-ap-style-ticketzoom.css
...@@ -53,7 +53,7 @@ window.addEventListener('load', function() { ...@@ -53,7 +53,7 @@ window.addEventListener('load', function() {
document.querySelector("#ToolBar li.PhoneTicket > a").setAttribute("target","_blank") document.querySelector("#ToolBar li.PhoneTicket > a").setAttribute("target","_blank")
// automatischer Reload nach x Sekunden // automatischer Reload nach x Sekunden
if (URL.includes("AgentDashboard") || URL === "https://anfragen-pool.swrapp.net/otrs/index.pl" || URL === "https://test-anfragen-pool.swrapp.net/otrs/index.pl") { if (URL.includes("AgentDashboard") || URL === "https://anfragen-pool.swrapp.net/otrs/index.pl" || URL === "https://test-anfragen-pool.swrapp.net/otrs/index.pl" || URL === "https://anfragen-pool.swrapp.net/otrs/index.pl?") {
setInterval(function(){ setInterval(function(){
if ( // stoppt autom. Reload, wenn bestimmte Dialogfenster geöffnet sind if ( // stoppt autom. Reload, wenn bestimmte Dialogfenster geöffnet sind
document.querySelectorAll("#Overlay").length === 0 && document.querySelectorAll("#Overlay").length === 0 &&
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment