A Chrome extension for Radiopaedia editors that checks and formats references using Cite.
When editing an article or case on Radiopaedia, RadioUpdater adds a CiteItRight button next to each reference. Hover over the button to check a reference, or click it to refresh.
- Match — the reference is already correctly formatted
- Review — hover the status button to see the suggested changes, then click to accept
- Undo — revert to the original reference if needed
- Error — the reference could not be parsed
- Download this repository as a ZIP file (click the green Code button on GitHub, then Download ZIP)
- Unzip the downloaded file
- Open Chrome and go to
chrome://extensions - Turn on Developer mode using the toggle in the top-right corner
- Click Load unpacked
- Select the
radioUpdaterfolder inside the unzipped download (the folder that containsmanifest.json) - The extension icon should appear in your Chrome toolbar
To update to a new version:
- Download the latest ZIP and unzip it
- Go to
chrome://extensions - Find RadioUpdater and click the refresh icon, or remove it and repeat the installation steps
- Navigate to any article or case edit page on Radiopaedia
- Each reference textarea will have a CiteItRight (hover) button beneath it
- Hover over the button to automatically check the reference
- If changes are suggested, the status button will show Review — hover it to preview the diff, click to apply
- Click Undo on the status button if you want to revert
Tests use Vitest with jsdom for DOM API support. The test suite covers the security-critical and utility functions — the parts where bugs are hardest to catch manually.
npm install
npm test
What's tested:
sanitizeHTML— XSS prevention (script injection, event handler attributes, iframes, etc.)decodeHTML— HTML entity decoding edge casescreateButton/createHiddenDiv— DOM helper outputfetchWithTimeout— timeout abort, error handling, option passthrough
DOM manipulation and Chrome API integration (content scripts, message passing) are verified manually since they depend on the live Radiopaedia page and Chrome extension runtime.
Jeremy Jones, Community Director