Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
    • Other Browser Sites
    • Add-ons for Android
Log in
Preview of ResourceSwap

ResourceSwap by Charles Strahan

Intercepts production JS/CSS files and redirects them to a local development server.

0 (0 reviews)0 (0 reviews)
Download Firefox and get the extension
Download file

Extension Metadata

About this extension
Redirect production website resources to your local dev server — test local
code changes against a live production site without touching the server.

ResourceSwap intercepts network requests for scripts, stylesheets, images,
fonts, XHR/fetch, and media, and redirects them to a URL of your choice (e.g.
your localhost dev server). Point a live production page at your in-progress
local build to debug and iterate against real data and real conditions.

Features
  • Redirect any resource type: scripts, stylesheets, XHR/fetch, images, fonts, media
  • Per-rule enable/disable toggles and a global on/off switch
  • Automatic CORS header injection for localhost responses
  • Import and export your rules as JSON
  • Dark mode support
  • Pop-out window mode (handy in Firefox, where popups close on blur)

Everything runs locally. ResourceSwap collects no data and sends nothing to any
server.
Rated 0 by 0 reviewers
Log in to rate this extension
There are no ratings yet

Star rating saved

5
0
4
0
3
0
2
0
1
0
No reviews yet
Permissions and data

Required permissions:

  • Block content on any page

Optional permissions:

  • Access your data for all websites

Data collection:

  • The developer says this extension doesn't require data collection.
Learn more
More information
Add-on Links
  • Support site
  • Copy add-on ID
Version
1.0.0
Size
23.74 KB
Last updated
13 days ago (Jul 18, 2026)
Related Categories
  • Web Development
License
MIT OR MPL-2.0
Version History
  • See all versions
Add to collection
Report this add-on
Go to Mozilla's homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Download

  • Download Firefox
  • Windows
  • macOS
  • iOS
  • Android
  • Linux
  • All

Latest Builds

  • Nightly
  • Beta

Firefox for Business

  • Enterprise

Community

  • Connect
  • Contribute
  • Developer

Follow

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike License v3.0 or any later version.