Firefox 浏览器附加组件
  • 扩展
  • 主题
    • 适用于 Firefox
    • 字典和语言包
    • 其他浏览器网站
    • 适用于 Android 的附加组件
登录
CF FetchCodes 预览

CF FetchCodes 作者: Sayan Paul

Fetch Accepted Codes of CodeForces Friends This Firefox extension retrieves the accepted solutions of all your CodeForces-friends for a given problem on the platform.

0(0 条评价)0(0 条评价)
23 个用户23 个用户
下载 Firefox 并安装扩展
下载文件

扩展元数据

屏幕截图
关于此扩展
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.7):
- 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:
1. Install CF FetchCodes.
2. Navigate to any CodeForces problem page.
3. Look for the "→ Accepted Codes of Friends" box in the right sidebar.
4. Click "Show Codes".
5. 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.7 (Stability & Authentication 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.
评分 0(1 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

5
0
4
0
3
0
2
0
1
0
尚无评价
权限与数据

必要权限:

  • 访问您在 codeforces.com 的数据
详细了解
更多信息
版本
25.12.7
大小
45.75 KB
上次更新
6 天前 (2025年12月7日)
相关分类
  • 搜索工具
许可证
Mozilla 公共许可证 2.0
版本历史
  • 查看所有版本
添加到收藏集
举报此附加组件
转至 Mozilla 主页

附加组件

  • 关于
  • Firefox 附加组件博客
  • 扩展工坊
  • 开发者中心
  • 开发者政策
  • 社区博客
  • 论坛
  • 报告缺陷
  • 评价指南

浏览器

  • Desktop
  • Mobile
  • Enterprise

产品

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • 隐私
  • Cookie
  • 法律

除非另有注明,否则本网站上的内容可按知识共享 署名-相同方式共享 3.0 或更新版本使用。