From 400317ffe531643f660bba8aaf6a1f0bd08f1857 Mon Sep 17 00:00:00 2001 From: Tykayn Date: Sun, 5 May 2024 09:44:28 +0200 Subject: [PATCH] add setinterval --- osm-itineraire-userscript/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/osm-itineraire-userscript/index.js b/osm-itineraire-userscript/index.js index 9a09d336..d1293e9b 100644 --- a/osm-itineraire-userscript/index.js +++ b/osm-itineraire-userscript/index.js @@ -179,5 +179,6 @@ function main () { document.addEventListener('hashchange', () => main()) document.addEventListener('DOMContentLoaded', () => main()) document.addEventListener('mouseup', () => main()) +setInterval(main(),1000) main()