Open casualcodex opened 3 years ago
I solved this by creating a new menu(like add buddy popup) and adding all data to a form and send it vie ajax to external node js route . So I am now able to submit any data necessary or required to any external source. On node js , I had to allow CORS because data was from an external site.
Fantastic! Another future improvement would be to have some sort of trim feature, to remove CDR data with some form of filter, this would also be used if you wanted to trim a user rather than actually delete, but also could then be used after you can confirm that the CD-R is saved off site.
For the moment you will just have to make these changes to the local storage your self.
Also if you want this to always be running, look into web workers (if they are still a thing). The idea with them is that they could be running in anther thread. Something very useful when you remember that all of JavaScript for a page runs in the same thread. You would not want this background process to interfere with calling.
Hello Conrad, how you are doing well!
Is there an easy way to push the json data to a remote node js route to save the call info or contacts/buddies list ? Currently it's saving to localStorage and it's all good. But I was just wondering if I could play around with it and save the data to a database.
Thanks in advance, Casual