I am creating an extension for use only on my kids laptops.
They keep clearing the history and I want to capture the URLs they are accessing and record them in a file. I have the code working to grab the URL for each page they visit. What I haven’t been able to figure out is how to append the grabbed URL into a file. I have searched for hours with no examples found. I am doing all of this in a background script.