A lightweight browser extension that makes reading Marginal Revolution's assorted links posts easier by showing the referenced link above each comment.
- Visit the MR Links extension on Chrome Web Store
- Click "Add to Chrome"
- Confirm the permission prompt
- Done! The extension is now active on all Marginal Revolution assorted links posts
If you want to modify the extension or run a custom version:
-
Clone the repository:
git clone https://github.com/YOUR_USERNAME/mr-links-all.git cd mr-links-all/mr-links -
Open Chrome and go to
chrome://extensions/ -
Enable "Developer mode" (toggle in top right)
-
Click "Load unpacked"
-
Select the
mr-links/directory from your cloned repo -
The extension is now loaded. Any changes to
content.jsorcontent.csswill take effect after a page refresh.
- Manifest V3 requires reloading the extension after code changes
- To reload: Go to
chrome://extensions/, find "MR Links", and click the refresh icon - Test on: https://marginalrevolution.com/marginalrevolution/ (any assorted links post)
When you visit a Marginal Revolution "assorted links" post:
- The extension parses the numbered links from the post (1-10 links)
- It scans each comment for references:
#X,X., orX) - For each reference, it injects a small banner above the comment showing the link's title and URL
- Click the banner to open the link in a new tab
manifest.json— Extension configuration (Manifest V3)content.js— Main logic: parses links, finds references, injects bannerscontent.css— Styles for the injected bannersicons/— Extension icons (16x48x128 px)
-
Navigate to any Marginal Revolution "Assorted Links" post (e.g., https://marginalrevolution.com/marginalrevolution/2026/04/tuesday-assorted-links-565.html)
-
Scroll to the comments section
-
Look for comments that reference a link number, such as:
#2 – This is interesting...4. Why leave out...Following up on 7)
-
You should see a blue banner above each comment showing the title and URL of the referenced link
-
Click the banner to open the link in a new tab
- URL guard: Only activates on assorted-links posts (not every MR page)
- Link parsing: Handles both
<ol>lists and numbered paragraphs - Reference detection: Regex-based, finds
#X,X.,X)patterns - Non-intrusive: Light styling, inserted between author line and comment text
- Performance: Vanilla JS, no dependencies, minimal DOM overhead
MR Links does not collect, store, or transmit any user data. The extension only operates on marginalrevolution.com and performs all processing locally in your browser.