CF FetchCodes icon

CF FetchCodes

Extension Actions

How to install Open in Chrome Web Store
CRX ID
ombmefkchmjbodcoboeagbpaejfojnga
Status
  • Extension status: Featured
Description from extension meta

Fetch Accepted Codes of CodeForces Friends

Image from store
CF FetchCodes
Description from store

CF FetchCodes: Learn from Friends' Solutions
Stuck on a CodeForces problem? Unlock the collective wisdom of your circle!

CF FetchCodes is a powerful browser extension designed to supercharge your Competitive Programming journey. It seamlessly integrates into the CodeForces problem page, allowing you to instantly view accepted solutions from your friends without ever leaving the tab.

Whether you are looking for a different approach, an optimization hack, or just inspiration, CF FetchCodes brings your friends' code directly to you.

๐Ÿš€ New in this Update (v25.12.07):
Smart Session Management: No more confusing "Failed to load" errors! The extension now detects if your CodeForces session has expired and provides a direct "Login & Retry" button inside the list.

- One-Click Retry: Fetch failed? You can now retry fetching a specific code instantly without refreshing the entire page.
- Enhanced Error Feedback: Clearly distinguishes between Hidden/Private codes (which can't be viewed) and Auth Errors (which just need a quick login).

โœจ Key Features:
๐Ÿ‘€ Instant Code Access: See a list of all friends who have accepted the current problem.
โšก Lazy Loading: To save bandwidth and speed up the page, code is only downloaded when you click a specific friend.
๐Ÿ›ก๏ธ Robust Auth Handling: Seamlessly handles background session timeouts, ensuring you can continue browsing friends' codes even if your login cookie expires.
๐ŸŽจ Native Syntax Highlighting: Read code comfortably with coloring that matches the CodeForces environment (Supports C++17/20, Python 3, Java, and more).
๐Ÿ”— Quick Navigation: Includes direct links to the original submission and your friend's profile.
๐Ÿ“Š Progress Status: A real-time progress bar shows you the status of checking your friends' submissions.
Safety-First Architecture: Uses "Human-Like" delays and randomized jitter to strictly adhere to CodeForces API limits and keep your account safe.

๐Ÿ› ๏ธ How to use:
Install CF FetchCodes.
- Navigate to any CodeForces problem page.
- Look for the "โ†’ Accepted Codes of Friends" box in the right sidebar.
- Click "Show Codes".
- Click on any friend's name in the list to expand and study their solution!

โš ๏ธ Important Notes:
- Contest Integrity: To maintain fair play, this extension does not work during live contests. It is designed for practice and upsolving.
- Privacy: You can only view submissions that are public. Private or gym submissions are restricted by CodeForces API rules.

๐Ÿค Contribute & Support CF FetchCodes is an open-source initiative built by the community, for the community. We love pull requests!

Found a bug or have a feature request?
Want to improve the code? ๐Ÿ‘‰ Head over to our GitHub: https://github.com/sa-paul/CF_FetchCodes

๐Ÿ”ฎ Upcoming Features: We are constantly coding to make this tool better. Here is what is in the pipeline:
๐ŸŒ™ Dark Mode: A sleek dark theme for late-night coding sessions.
๐ŸŽจ Custom Themes: Choose your favorite editor color scheme.
๐Ÿค– AI Code Explainer: An AI companion to break down complex logic in your friends' code.

๐Ÿ“œ Release Notes
Version 25.12.07 (Stability & Auth Fixes)
- Fix: Resolved the "Failed to load code" issue reported by users.
- New: Added a "Session Expired" state with a smart Login & Retry button.
- New: Improved detection logic to differentiate between locked/private submissions and connection errors.
- Improvement: The "Retry" button now re-fetches code specifically for that user without reloading the whole list.

Version 25.11.21 (Major Overhaul)
- UI Redesign: Replaced the pop-up modal with a sleek, scrollable Accordion list.
- Stable System: Implemented "Human-Like" delays and randomized jitter.
- Performance: Added a caching layer; code is now stored in memory after the first fetch.
- Bug Fix: Fixed an issue where the extension interfered with CodeForces' native hover events.

Version 0.1.1
Security: Enhanced compliance with Manifest V3 policies for better security and stability.

Version 0.1.0
Initial Launch: Added basic code fetching, syntax highlighting, and sidebar integration.

Latest reviews

aryan
i says failed to load codes for me for every problem
Manjul Gupta
hi, there is a problem with this extension. i guess it blocks some of the js codes on the site. for example, when i hover over any testcase, it does not gets highlighted. on disabling this extension, it works fine Please look into this and fix it. good and really useful extension overall...
Tau Lee
I need highlight!!!
Saptarshi Ghosh
Good Job Bro!!!
Saptarshi Ghosh
Good Job Bro!!!
Shyamasree Mukherjee
Wonderful Extension
Shyamasree Mukherjee
Wonderful Extension
Tanmoy Sarkar
Nice extension๐Ÿš€
Tanmoy Sarkar
Nice extension๐Ÿš€
SONALI NANDI
Awesome extension !!
SONALI NANDI
Awesome extension !!
Koustav Halder
Great extension!!
Koustav Halder
Great extension!!