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

automatischer reload jede minute, hervorheben der deadline in ticket-zoom

parent 6de33856
No related branches found
No related tags found
No related merge requests found
......@@ -52,4 +52,8 @@
margin-left: 0.2em;
padding: 0.4em 0.6em 0.2em 0.5em !important;
display: inline-block;
}
#Core_UI_AutogeneratedID_0 fieldset:last-child :nth-child(5) {
color: red;
}
\ No newline at end of file
......@@ -2,7 +2,7 @@
// @name test-ap-ux-improver
// @namespace https://test-anfragen-pool.swrapp.net/*
// @version 2024-05-07_15-46
// @version 2024-06-12_11-34
// @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
......@@ -52,5 +52,21 @@ window.addEventListener('load', function() {
const lorenz = [...document.querySelectorAll("div[title='Lorenz Bockisch']")]
lorenz.map((e)=>e.innerText += " 🦄")
console.log("works right now")
if (URL.includes("AgentDashboard")) {
setInterval(function(){
if (
document.querySelectorAll("#Overlay").length === 0 &&
![...document.querySelectorAll("div[id*='setting']")].map(d=>d.style.display).includes("block") &&
document.querySelectorAll("div[class*='SettingsWidget Expanded']").length === 0
) {
window.location.reload(1);
console.log("reloaded")
} else {
console.log("overlay now detected")
}
}, 1000*60);
}
}, false);
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment