Hi all. I am trying to build a chrome extension to help with my [horrible] job search process and learn a bit of web development (I’m a backend guy; new to chrome extensions). I’ve been logging my applications in Google Sheets and figured that I could automate some of it (I repeatedly copy the Job Title, Company Name, Job Location, Date Applied, Post URL, and Job Board directly from the post). Obviously fields such as Interview Dates, Rejection, etc. will still require manual updating.
I’ve made progress (https://imgur.com/a/ef3L8UP); I can parse a selected job posting within LinkedIn, Glassdoor, or Indeed and autofill a form within a popup. Now I want to do OAuth for Google Sheets API and write the form info on submit to my [private] spreadsheet; I’m a bit clueless as to how to organize this. It’s annoying that you have to send messages between the popup and content scripts, and the popup doesn’t store information when it is closed.
I’ve seen some suggestions not to use popups (https://stackoverflow.com/questions/25769964/redirect-the-chrome-extension-popup-html-page-to-a-url-for-oauth). Has anyone worked on similar projects, involving chrome extensions and OAuth (and preferably also Google APIs)? How might I organize this?