DuoHacker Extension#9
Conversation
Review Summary by QodoReorganize DuoHacker extension with Greasemonkey API polyfill
WalkthroughsDescription• Reorganizes extension files into extension/source/ directory structure • Implements Greasemonkey API polyfill for userscript compatibility • Fetches and executes DuoHacker userscript from GitHub repository • Configures Chrome extension manifest with Duolingo domain permissions Diagramflowchart LR
A["Content Script<br/>content.js"] -->|"Injects"| B["Inject Script<br/>inject.js"]
B -->|"Polyfills GM API"| C["Greasemonkey<br/>Functions"]
B -->|"Fetches & Executes"| D["DuoHacker Userscript<br/>GitHub"]
E["Manifest v3<br/>manifest.json"] -->|"Configures"| A
E -->|"Defines Permissions"| F["Duolingo Domains<br/>+ Resources"]
File Changes1. extension/source/content.js
|
Code Review by Qodo
1.
|
This PR adds a Chrome extension + its source code that loads the DuoHacker userscript on Duolingo web.
The extension acts as a lightweight loader and does not modify the userscript itself. It simply injects the upstream script on supported Duolingo domains.
Key points:
Loads official upstream userscript as-is
No modification or obfuscation of core script logic
Limited permissions (Duolingo domains only)
Public repository for full transparency
Updates are handled through versioned commits