zubyj / leetcode-explained

Browser extension that adds video solutions, company tags, and GPT code analysis into Leetcode problems
https://leetcodeapp.com
MIT License
86 stars 13 forks source link

Get rid of warnings when downloading extension by trying to remove some chrome apis and permissions #18

Closed zubyj closed 1 year ago

zubyj commented 1 year ago

Screenshot 2023-04-14 at 12 34 30 PM

zubyj commented 1 year ago

leetcode explained

zubyj commented 1 year ago

changed the title v0.0.2 has some warnings when users download the extension. See if we can get rid of the warnings (remove tabs api, only browse certain openai.com endpoints Get rid of warnings when downloading extension by trying to remove some chrome apis and permissions now

zubyj commented 1 year ago

6a2ac98

The first warning will only warn against the "https://chat.openai.com/api/auth/session" endpoint now. The second warning cant be helped. I need to read the tab name to figure out whether to add the leetcode solution to the page. Also the tab name is used to figure out the right problem to insert. I could create a button to add the video and then i'd only be using the activetab api which wont show the warning but the current implementation is a lot cleaner.