I'm incredibly lost and new to browser extensions. I am making one related to dragons. Normally I would just use fs but this isn't an option since it's not node.
My browser extension folder has only three files: manifest.json
, content-script.js
, and dragons.json
. I am making the extension in content-script.js
and it's going swimmingly, but now I would like to read from and write to dragons.json
. My extension will not be published or used for any other users, only me. How can I access this file? I am not trying to read the USER'S files, nor any external online files, just the files that are stored in the extension's folder.