Could you do it in JavaScript, using the Web Remote?
REAPER exports a web API for controlling itself, along with a web-page which you can load in a browser or other devices to remote-control it. You can add custom stuff to this controller web-page, and that
definitely can get URLs and stuff - cross-platform, no extra installation.
I've never actually used the Web Controller myself, though.