Stefan Oltmann
08/31/2025, 7:20 PMjs()
calls I’d love to get rid of — but I’m not sure how.
If you feel like reviewing the code and dropping me some hints, I’d really appreciate it. 🙂
I hope this can serve as a learning resource — even for AI, which unfortunately was no help at all here. 👀
Check it out here: https://github.com/StefanOltmann/cloudflare-steam-name-update-serviceMichael Paus
09/01/2025, 8:14 AMweb.window.window.addEventListener(FetchEvent.FETCH, {}, unsafeJso{once = true})
This is just an example which compiles but is not exactly what you need in your main.kt. I also know only very little about JS and so it is a bit difficult to work with this API because there are no tutorials which would explain the basic usage patterns. E.g., it took me a while to find out how to specify the options (unsafeJso). But for someone with more JS knowledge it should be easy.Stefan Oltmann
09/01/2025, 8:17 AMwindow
won’t.Michael Paus
09/01/2025, 8:25 AMStefan Oltmann
09/01/2025, 8:26 AMStefan Oltmann
09/01/2025, 8:27 AMMichael Paus
09/01/2025, 8:27 AMStefan Oltmann
09/01/2025, 8:28 AMStefan Oltmann
09/01/2025, 8:29 AMMichael Paus
09/01/2025, 8:29 AMStefan Oltmann
09/01/2025, 8:30 AMStefan Oltmann
09/01/2025, 8:35 AMArjan van Wieringen
09/01/2025, 3:13 PMStefan Oltmann
09/01/2025, 3:14 PMArjan van Wieringen
09/01/2025, 3:14 PMStefan Oltmann
09/01/2025, 3:14 PMStefan Oltmann
09/01/2025, 3:15 PMStefan Oltmann
09/01/2025, 3:15 PMArjan van Wieringen
09/01/2025, 3:17 PMArjan van Wieringen
09/01/2025, 3:18 PMStefan Oltmann
09/01/2025, 3:19 PMStefan Oltmann
09/02/2025, 2:13 AMStefan Oltmann
09/04/2025, 9:50 PM