Moved userscript to client

This commit is contained in:
2026-03-18 10:34:20 +01:00
parent c8b8199e93
commit 26f1902996
20 changed files with 5 additions and 5 deletions
+13
View File
@@ -0,0 +1,13 @@
export function debounce (func, wait) {
let timeout
return function executedFunction (...args) {
const later = () => {
clearTimeout(timeout)
func(...args)
}
clearTimeout(timeout)
timeout = setTimeout(later, wait)
}
}