The-CodingSloth / haha-funny-leetcode-extension

MIT License
396 stars 75 forks source link

Skip paid content #37

Closed Tayomide closed 10 months ago

Tayomide commented 10 months ago

Move to the next question if current content is paywalled

More logic could be added to prevent this for users that paid for Leetcode premium

The-CodingSloth commented 10 months ago

Wow this is awesome, you're one of the 500 iq people. I'll mess around with this for a bit. If it works I'll merge. Also side note, in the future I'll probably still use those blind75 and neetcode150 JSON files in the future when users can select their problem set unless you figure out a way to filter problems based on those sets with the api. Since a lot of people would appreciate only working on those helpful problem sets.

Tayomide commented 10 months ago

Thanks!

Here's how I got the query

I pulled up the console drawer (Ctrl + Shift + i)-> Navigated to the Network tab -> Typed "graphql" in the "filter" search bar -> Reloaded

I got all the requests Leetcode sent using that. All I did after that was check which response I needed and then navigate to the payload tab to get the query