Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
anfragen-pool-ux-improver
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jan Seipel
anfragen-pool-ux-improver
Compare revisions
75ecdd9ab761456b49fb685703d5df7173f7d390 to b53bda1fcc5fb3f22c8ae60de10c897d46165571
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
Jan.Seipel/test-ap-ux-improver
Select target project
No results found
b53bda1fcc5fb3f22c8ae60de10c897d46165571
Select Git revision
Branches
dev
main
2 results
Swap
Target
Jan.Seipel/test-ap-ux-improver
Select target project
Jan.Seipel/test-ap-ux-improver
1 result
75ecdd9ab761456b49fb685703d5df7173f7d390
Select Git revision
Branches
dev
main
2 results
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (2)
dev-branch created, few comments added
· 690dbcc2
Jan Seipel
authored
11 months ago
690dbcc2
changed userscript name
· b53bda1f
Jan Seipel
authored
11 months ago
b53bda1f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
anfragen-pool-ux-imporver.user.js
+7
-11
7 additions, 11 deletions
anfragen-pool-ux-imporver.user.js
with
7 additions
and
11 deletions
anfragen-pool-ux-imporver.user.js
View file @
b53bda1f
// ==UserScript==
// @name
test-ap
-ux-improver
// @name
anfragen-pool
-ux-improver
// @namespace https://test-anfragen-pool.swrapp.net/*
// @version 2024-06-
13_08-58
// @version 2024-06-
26_14-27
// @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
...
...
@@ -49,25 +49,21 @@ window.addEventListener('load', function() {
// im neuen Fenster öffnen
document
.
querySelector
(
"
#ToolBar li.PhoneTicket > a
"
).
setAttribute
(
"
target
"
,
"
_blank
"
)
// Einhorn hinter Lorenz' Namen
const
lorenz
=
[...
document
.
querySelectorAll
(
"
div[title='Lorenz Bockisch']
"
)]
lorenz
.
map
((
e
)
=>
e
.
innerText
+=
"
🦄
"
)
console
.
log
(
"
works right now
"
)
// automatischer Reload nach x Sekunden
console
.
log
(
"
repo
"
)
if
(
URL
.
includes
(
"
AgentDashboard
"
))
{
setInterval
(
function
(){
if
(
if
(
// stoppt autom. Reload, wenn bestimmte Dialogfenster geöffnet sind
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
"
)
console
.
log
(
"
reloaded
"
)
//
}
else
{
console
.
log
(
"
overlay now detected
"
)
}
},
1000
*
6
0
);
},
1000
*
12
0
);
// hier den Sekundenwert einstellen
}
},
false
);
\ No newline at end of file
This diff is collapsed.
Click to expand it.