Closed VarthanV closed 4 years ago
I have made the necessary changes and returned a json object to the main file
No Bro what Abhishek bro said is to extract the data and send it to the backend. I am just learning GraphQL the message is nothing but a div in auth.html to make sure that my logic works . Please specify me what i have to do after extracting the data
We can merge this once the "message" element is sorted out. (this is assuming the changes are tested and working fine)
Content.js is a convention to name the file otherwise we cannot access the dom elements and get data . I have removed the message div I just used it for debugging the data will be returned as JSON to the popup file. If you want to know whether it works i have logged the title and metadata in the console when the site loads we can disable that after you approve the PR.
@VarthanV Thank you for your contributions!
I have solved the Issue number 12 that was opened by fetching the title and the description of the website when the extension is clicked under the guidance of @xlogix