What I'm trying to do is rather simple, but I haven't found any streamlined way to do it.
So far what I want is to listen to a part of the content of a webpage and, whenever it changes, save the new content of it into a text file (and overwrite if it already exists). I need that .txt file so it can be accessed in another program whenever it is changed.
I was doing it with a chrome extension until I realized it doesn't allow us to save to the filesystem and the only other way to do it I found was to cross-message it to an chrome app and then save there. It does sounds like a lot of hassle to make an app to read the message, pack it and then get the ID for the extension messaging.
So my question is, how can I automatically save the data from the DOM into a file every time it changes? Or save a message I send through an extension without having to also make an app for it?
Keep in mind it's something for personal use, I don't really care for running it in debug-mode/permissions/etc.