A Chrome/Edge extension to follow friends on LeetCode
There is an issue about following friends on LeetCode. Because of the feature is not available right now, I implemented this simple extension to follow friends on LeetCode.
Thanks to JeremyTsaii, the API I'm using is from the project (https://leetcode-stats-api.herokuapp.com/
).
Download the project to your local. Go to Chrome/Edge extension manager and press Load unpacked
. Select the folder / zip file you have downloaded and join it!
Input your friend's LeetCode ID with ADD
buttom. Or delete users if you want.
- The api is using by third-party from JeremyTsaii/leetcode-stats-api but not using the original API from LeetCode because I don't know how to deal with CSRF.
- The Chrome extension uses local storage to store user data, but please note that local storage does not guarantee permanent storage of this data.
- The extension will query API every when we view it. It can be improved by using some caching method.