Skip to content

adich23/CF-questions-extension

Repository files navigation

CF-questions-extension

A chrome extension that shows your pending questions on Codeforces instead of posts in Facebook feed.Click any of them to open the problem page.

Sample facebook home page

Installation Instructions

The extention can be installed from Chrome web store.
By default username is not set, installing it first time , you have to setup username by clicking on options of the extension in the Chrome Extension Page. More description on this Codeforces post

If you would like to modify the extention (maybe add new functionality), you can clone the repo and make changes in the desired files. You can then load it directly by enabling Developer mode in chrome://extensions/ and loading the unpacked extention directly from file system.

Small Description

It is using Codeforces API for validating username and fetching the submissions. Currently only first 1000 submissions are fetched.
background.js is used for making a secure http connection from https facebook page.

TODO

  • Correctly link Gym problems to their webpages.
  • Add a timer facility to remove feed after say 10 minutes of daily usage Or removing it after 2 minutes of refreshing the page.
  • Port the extension to firefox.

Attribution

The project is built on top of nealwu's KillNewsFeed.