i have following Scenario:
Im created a custom Tampermonkey script to control all videos in the current active Chrome Tab back/pause/forward/playbackrates.
Now im trying to also use them from my Streamdeck while in a game on my other monitor.
I already got Streamdeck connected to AutoHotkey to call any function in AutoHotkey without using any weird hotkey combinations, by using a express server and a custom plugin for the streamdeck.
Now my question, is it possible to somehow either receive, or if not possible, poll commands with a Tampermonkey script form a locally hosted SOMETHING?
I Tried websocket, fetch, xmlhttprequest … but always the same stuff… error with CORS i believe. It doesn’t allow me to subscribe to or poll my locally hosted stuff.
I’m not experienced in the CORS stuff etc. Anybody got a working js + ahk script that can somehow communicate or any alternative ideas on what i could try?
btw im using ahk2, but ahk isnt the problem
Thank you