Stripping AJAX data from the browser.
Greetings, Is it possible to get data from a browser that was sent from a server that is directly connected to a Windows tablet in HotSpot mode? I purchased a BBQ temperature controller that sends temperature and alarm status to a browser via Wi-Fi. I want to trigger an audible event based on that data (which the unit does not do). I do not know how, or if it is even possible to extract that data from the browser. Would this be possible using Firefox? Thank you.
Additional System Details
- User Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36
Could you describe what is displayed in Firefox? Is it a constantly updated view of the temperature, or do you need to reload the page to see the current temperature?
What I'm thinking is there must be a way to create a webapp for this, but the closer you are to just needing to add a sound when a particular number appears in the page, the easier it would be.
Do you think other owners of this product would have the same interest? If so, you might search around to see whether one of them has come up with a solution.
Random thought: seems like a good app for a phone or smart watch so you don't need to be near a computer.
You can use an add-on to "watch" changes in a page and then take action. Playing a sound is trickier than it used to be, with browsers muting background tabs or preventing autoplay, but if it's the active tab, those shouldn't be a problem. Can you find something for it in the Chrome extension store?
I am currently investigating "Web Scraper" and "Data Miner" add-ons, but do not know anything about how to use them yet. This seams to be the way to move forward though. Thank you.
I would look for things that are more along the lines of notify on change if you can find one.