This year in my field we have a large conference overlapping with the European soccer championship. Luckily my talk does not overlap with any match, but in case it will happen in the future I was wondering if it is possible to include in a beamer presentation some Javascript magic that fetches the live results from the internet and displays them in the bottom bar.
I have researched and seen some examples of embedding JS in TeX, but everything seems to be only functions that do some simple stuff when the document is opened or when a PDF form is submitted. In particular, my questions at this point are:
can I run AJAX requests inside a PDF, or are the security restrictions too tight?
how do I embed code that gets called every X seconds, or whenever a new slide is presented?
which packages would make my life easier in programming this?