Sokker++ es una extensión ultraligera para Google Chrome y navegadores basados en Chromium, diseñada para inyectar analíticas avanzadas
翻譯準備中
外掛TypeScript · JavaScriptGitHub @manunoly自行安裝營運者未確認
試用過了嗎? 點一下就好,不需要登入。
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
安裝型專案無需部署網域也可驗證。個人儲存庫可透過 GitHub 登入驗證,組織儲存庫可使用上方的儲存庫驗證檔案。
製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗English · Español
Sokker++ is a Chromium extension that adds skill history and junior talent estimates to Sokker.org. It is an unofficial fan project, not affiliated with Sokker.
It uses TypeScript, native browser APIs, and local IndexedDB storage. Charts use Canvas without a charting library.
/app/squad/) green (increase) or red (decrease).<canvas> API, no heavy external libraries.The Manifest V3 content script separates same-origin API access (src/core/api.ts), IndexedDB persistence (src/core/repository.ts and src/core/juniorRepository.ts), synchronization (src/core/sync.ts and src/core/juniorSync.ts), and page integration (src/content/). The build uses Vite; runtime charts use the browser's Canvas API.
The source code is split to maximize testability and separation of concerns:
sokker-plus-plus/
├── manifest.json # Manifest V3 configuration
├── popup/ # Extension UI (Import/Export/manual Sync)
└── src/
├── content/ # DOM interaction (side effects)
│ ├── main.ts # Content script entry point
│ ├── observer.ts # MutationObserver for the Sokker SPA
│ ├── ui.ts # Visual table mutations
│ ├── tooltip.ts # First-team hover and focus lifecycle
│ ├── playerCard.ts # First-team summary, skill card, and weekly table
│ ├── playerLocale.ts # Ten first-team card languages
│ ├── i18n.ts # Incoming skill-label normalization
│ ├── juniorPage.ts # Eligible routes and junior-name interaction
│ ├── juniorCard.ts # Local-data hover card
│ └── juniorLocale.ts # Ten UI languages with English fallback
├── core/ # Business logic and data
│ ├── api.ts # Pure fetchers for sokker.org/api (same origin)
│ ├── repository.ts # Functional IndexedDB wrapper (closures)
│ ├── sync.ts # Orchestrator: compares weeks and decides what to fetch
│ ├── gapDetector.ts # Detects missing weeks in the history
│ ├── talent.ts # Focused per-skill training counts
│ ├── playerTimeline.ts # Report weeks and observed skill levels
│ ├── levelTrend.ts # Shared regression math
│ ├── juniorSync.ts # Weekly junior queue and roster decisions
│ ├── juniorRepository.ts # Junior records in the shared IndexedDB
│ ├── juniorTalent.ts # Junior curve estimate
│ └── trainingReport.ts # Per-player training report
├── types/ # Shared TypeScript types
├── ui-components/ # Pure presentation
│ ├── playerSkillCanvas.ts # First-team skill chart (Canvas API)
│ ├── playerSkillExport.ts # First-team PNG adapter
│ ├── chartExport.ts # Shared PNG compositor
│ └── juniorCanvas.ts # Junior chart (Canvas API)
└── utils/ # Utilities
├── scheduleIdle.ts # Schedules work during idle time
└── escapeHtml.ts # Escapes values rendered as HTML
npm ci # install dependencies
npm run dev # build in watch mode
npm run build # generates dist/ (load it as "unpacked" in chrome://extensions)
npm run package # build + zip dist/ into documentation/sokker-plus-plus.zip
npx vitest run # tests
npx tsc --noEmit # typecheck
npm run package currently needs POSIX rm and zip; on Windows use a shell that provides them. Loading dist/ only needs npm run build.